Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
how to determine if a var is = nothing
Message
 
To
07/09/2000 09:51:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00413285
Message ID:
00413711
Views:
20
I could have swore I remember a thread about a case where VarType() didn't work, but now I can't find it. < shrug > Sorry for any confusion.


>TYPE() behaves like this, VARTYPE() doesn't.
>
>
>lox = CREATEOBJ("form")
>? TYPE("lox") && "O"
>lox = .NULL.
>? TYPE("lox") && "O"
>
>lox = CREATEOBJ("form")
>? VARTYPE(lox) && "O"
>lox = .NULL.
>? VARTYPE(lox) && "X" - null
>
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform