Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How To Determine Variable Existance
Message
 
To
04/08/1999 10:52:00
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00249743
Message ID:
00249753
Views:
23
>I would like to know if it is possible to test for the existance of a variable. I need to do this because the fact that a particular variable does or does not exist provides information I need for processing. Of course, if I test the value of a non-existant global variable, I get an error msg. If this is possible, I would like to know the command, syntax, etc.
>
>Thanks.

Mark,
IF TYPE("VariableName") <> "U"
   * It exists
ELSE
   * It doesn;t exist
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform