Xbasic
ISARRAY Function
Syntax
Result_Flag as L = IsArray(* obj )
Arguments
- Result_Flag
.T. = Object is an array. .F. = Object is not an array.
- obj
A variable of any type.
Description
The ISARRAY() function determines whether an object is an array, and returns .t. if it is an array
Discussion
Example
dim ptr as P ? IsArray(ptr) = .f. dim ptr2[1] as P ? IsArray(ptr2) =.t. ? arraytype(ptr2) = "P"
See Also