Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Test If a Variable exists
Message
From
01/09/2006 08:37:36
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01150290
Message ID:
01150341
Views:
29
No problem!
Thanks.

>Yes,
>It was a typo in my post. It should be TYPE() function. Sorry about that.
>
>IF TYPE("SomeVariable") <> "U"
>  * Variable exists
>
>IF TYPE("SomeObject") = "O" AND NOT ISNULL(SomeObject)
>  * Object exists
>
***
TONY Nascimento
*****************

"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo

"The desire to know is natural to good men" - Leonardo da Vinci
Previous
Reply
Map
View

Click here to load this message in the networking platform