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:
00112264
Views:
19
>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

TYPE('aMyArray[1]')#'U'
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform