Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determine if variable is an array?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00112224
Message ID:
00112288
Views:
20
>Does anyone know of a clean way to determine if a variable is of type array? Example:
>
>DIMENSION x[10]
>STORE 0 to x
>x[1]='Some string'
>? TYPE('x') --> returns C which is the type of the first element.
>
>Has VFP6 made arrays as objects?
>
>Thanks
>Costas
Costas,

?TYPE("x(1)") will return U for a non-array.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform