Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I check to see if an array has been created?
Message
 
To
11/10/2001 23:57:39
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00567404
Message ID:
00567742
Views:
10
Hi Peter,

According to the VFP7 documentation:
VARTYPE( ) returns "U" if you specify a variable that doesn't exist

My Tests:

?vartype(m.test) returned 'U' as described

DIMENSION m.test(10)
?VARTYPE(m.test) returned 'L', which I believe refers to m.test(1) by default

You might explore this further...
The day you take complete responsibly for yourself, the day you stop making any excuses, thats the day you start to the top. - O.J. Simpson

Great advice from a questionable source...
Previous
Reply
Map
View

Click here to load this message in the networking platform