8.3.13 VarType

VarType returns the type of the value current stored in the Subject variant.

VarType( Subject )

Possible results are:


This example checks whether the value returned from a grid is a string:

If Cond(VarType( #TheValue ) *EQ VarString)
Use Builtin(MESSAGE_BOX_SHOW) With_Args(OK OK Information 'Variant Type' 'The value is a string.')

Ý 8.3 Variant Handling