Hi Andrus,
>Is this exactly the same as vfp 6 built-in vartype function?
No. VARTYPE() also returns "X" when you pass NULL. Via an additional parameter you can turn of this behavior. And VARTYPE does work with non-existing variables to a certain degree.
Christof
--
Christof