VFP9 only
TYPE("myarray",1) = "A"
>A question about determining whether a variable is an array: From the Help file: (version 8, not 9!)
>
>
You can also use the TYPE( ) function to check if a memory variable is an array. For example:
>? TYPE("myarray[1]")#"U">
>This apparently works as well for properties. Except for one special counter-example - native properties:
>
>Guesses on the results from the following?
>
?Type("loForm.visible(1)")
>?Type("loForm.visible(0)")
>
>Is there some other consistent method for determining whether a property is an array?
--sb--