Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
When is .NULL.= .NULL.?
Message
 
 
To
28/07/2000 18:10:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00398289
Message ID:
00398385
Views:
30
Yes. The only time I use type() anymore is to check if a variable is an array.

>That's why I like the new VARTYPE() command
>
lnValue = 10
>lnValue = .NULL.
>?VARTYPE(lnValue)
>** X
>It also makes for less coding when checking object existence.
>
* instead of
>IF TYPE("loObj")="O" AND !ISNULL(loObj)
>* use
>IF VARTYPE(loObj)="O"
>
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