VarType: ForeVariantType;
The VarType property returns the data type, to which the variable value belongs.
Sub UserProc;
Var
v: Variant;
Begin
v := Line;
Debug.WriteLine(v.VarType);
End Sub UserProc;
After executing the example a message containing the type of the value of the "v" variable is displayed.
See also: