Create Counter

Creates an integer counter that keeps track of a number and can be incremented/decremented.

 

Input Arguments

 

0

Counter

Counter Value

The intial value for the counter.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

This command always succeeds.

 

Remarks

Counters are used most often in loops to keep track of the current iteration through the loop.

If a “jump to step” command causes this command to be re-executed, the counter will be automatically reset to the initial value.