Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ISARRAY()?
Message
From
08/08/1999 15:04:15
 
 
To
08/08/1999 11:38:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00251254
Message ID:
00251282
Views:
10
>I need to decide if a variable is of array type or not. TYPE() and VARTYPE() functions return the type of the first array element, but not the variable type. Any other ideas?

For any array variable (for this example, the name is variablename), TYPE('VariableName[1]') will return a value other than 'U', while for any simple non-array type, TYPE('VariableName[1]') will return '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