Yes,
It was a typo in my post. It should be TYPE() function. Sorry about that.
IF TYPE("SomeVariable") <> "U"
IF TYPE("SomeObject") = "O" AND NOT ISNULL(SomeObject)
>
>>>My syntax is correct.
>>>
>>Sorry, it isn't
>>The variable name does not need quotes for vartype()
>>VARTYPE("SomeVariable") will always return 'C'
>
>Gregory and Fabio are right, Sergey!
>It's documented as they say. And I tested it.
>The quotes are used if using TYPE().
>And documentation says that VARTYPE() is faster than TYPE().
>
>Many thanks to both of you.
--sb--