Returns the data type of the current value of a variable.
VARVALTYPE(variable)
variable A string containing the name of the variable whose data type is to be returned.
VARVALTYPE returns a type character, as follows:
00 Cleared, unassigned variable.
01 Scaled binary number.
02 Short string.
04 File variable.
81 String number.
82 Indirect string.
U Undefined.
See also VARTYPE and VARVAL functions, and the VARVALSET statement.