Counter is a special Object type that has access to Counter related functionality like increment, decrement, and clear. Once you have a reference to an Object you can call these functions like this: obj.Counter.increment().
|Return Value||Function Name||Description|
|bool||clear()||Resets the Counter value back to 0.|
|bool||decrement()||Decrements the Counter’s value by 1.|
|int||getValue()||Returns the current value of the Counter. This is the same as calling getValue() on the Object reference.|
|bool||increment()||Increments the Counter’s value by 1.|
|bool||setValue(int count)||Sets the current value of the Counter. This is the same as calling setValue() on the Object reference.|