GetVariableType

Description:              This function returns the type, BASEVALUE, stored within a variable.

Warning:               For use by advanced programmers only.  Effective use of this function requires a thorough understanding of VTS programming. 

Returns:                    Integer or Structure.

Usage:                       Script

Format:                      GetVariableType(Variable)

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

                                              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);

See Also:

SetVariableType