GetVariableType

(Engine-Level Function)

Description: Returns the type, BASEVALUE, stored within a variable.
Warning: This function should be used only by advanced programmers.
Returns: Integer or Structure.
Usage: Script Only.
Function Groups: Variable
Related to: SetVariableType
Format: GetVariableType(Variable)
Parameters:  
Variable
Required. Any expression for a variable.
Comments: If a structure is returned, the first element will be an integer giving the data type. In the case where the variable is a module, the remaining elements will be text strings giving the names of modules within the scope.

Example:

    Var = FindVariable(ParmList[I], Mod, 0, 0);
{ Retrieve any typing information }
ParmType = GetVariableType(Var);