Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EVALUATE not support null parameter
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00841002
Message ID:
00841523
Views:
27
Hi George,

------
By defintion a null string has a data type, a null does not.
------

This is correct.

But VFP is not a good reference for explain this.
=NULL  && this is a null, without data type
release x
x=NULL && this is a Logical NULL
x=''   && this is a empty string
x=NULL && now x is a null string
? VARTYPE(m.x,.T.),TYPE('m.x')
? VARTYPE(m.x) && return 'X', but it is a trick
* in fact
? NULL+1 && return a null value
? m.x+1  && fire a error because you cannot concat a null string with a number
Fabio
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform