NumVariables

(Engine-Level Function)

Description: Returns the number of variables in a module.
Returns: Numeric
Usage: Script or steady state.
Function Groups: Compilation and On-Line Modifications,  Variable
Related to: SelectGraphic | UnselectGraphics | UnselectObject
Format: NumVariables(Module)
Parameters:  
Module
Required. 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.