NumVariables

Description:              This function returns the number of variables in a module.

Returns:                    Numeric

Usage:                       Script or Steady State

Format:                      NumVariables(Module)

Parameters:             Module    { Object value or Module }  { required }  { no default }

                                      Any expression for the object or module value.

Example:

numVars = NumVariables(Self());

This will set numVars to the number of variables in the current module.

See Also:

SelectGraphic | UnselectGraphics | UnselectObject