Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test If a Variable exists
Message
 
 
To
31/08/2006 23:13:30
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01150290
Message ID:
01150291
Views:
25
IF VARTYPE("SomeVariable") <> "U"
  * Variable exists

IF VARTYPE("SomeObject") = "O" AND NOT ISNULL(SomeObject)
  * Object exists
...
>I have in mind that VFP has a function to test if a variable or object exist. I'm trying to locate it in the help file but I can't.
>Any help will be appreciated.
>Thanks in advance.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform