VariableClass

Description:              This function returns the class of a variable.

Returns:                    Numeric

Usage:                       Script

Format:                      VariableClass(Variable)

Parameters:             Variable     { Variable }  { required }  { no default: }

                                                Any expression for the variable value.

Comments:               This function may only appear in a script.

Example:

If ! Valid(class);

[

  class = VariableClass(FindVariable("newVar", Self(), 0, 1));

]

This sets the variable class to the class of variable newVar.

See Also:

SetVariableClass