>>
>>Nope. If you do "x=null", x is not a string, is null (no datatype).
>
>Are you sure? Try
x = ""
>? TYPE("x")
>x = Null
>? TYPE("x")
>
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.