NumSets

(Engine-Level Function)

Description: Returns the number of statements that are currently active in setting a particular variable.
Returns: Numeric
Usage: Script or steady state.
Function Groups: Compilation and On-Line Modifications,  Variable
Related to: Watch
Format: NumSets(Variable)
Parameters:  
Variable
Required. Any variable for which the number of sets is required.

Example:

setsOnX = NumSets(x);

This will set setsOnX to the number of statements that are currently active in setting the value of variable x.