Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Testing for the presence of an object
Message
 
 
To
25/05/2001 03:40:29
Alexandre Palma
Harms Software, Inc.
Alverca, Portugal
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00511250
Message ID:
00511434
Views:
15
>No nick Type("oApp") will return O if null But VARTYPE(oApp) will return X X meaning that the variable is null.

FYI, if you pass in the optional 2nd parameter to Vartype() as .T., it will behave exactly like Type() in this regard. If you don't pass the parameter, it defaults to .F. and returns X for NULLs.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform