Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EVALUATE not support null parameter
Message
From
22/10/2003 10:26:03
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00841002
Message ID:
00841043
Views:
30
>>
>>Nope. If you do "x=null", x is not a string, is null (no datatype).
>
>Are you sure? Try
x = ""
>? TYPE("x")  && "C"
>x = Null
>? TYPE("x")  && "C"
>
Touché. 8-)

VFP keeps track of the original datatype. This is confusing, but I think they used the same approach as when checking for a field datatype, which of course still has a type when is null.

Thanks for pointing that, Sergey.
Previous
Reply
Map
View

Click here to load this message in the networking platform