Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Methods for counter variables

Updated on October 19, 2022

Use these methods to increase or decrease the values of variables.

MethodDescriptionParametersReturn type
Decrement (1 parameter)Decrements a specified variable and stores the result.Int32: the variable value to decrementInt32
Decrement (0 parameters)Decrements a specified variable and stores the result.Int32: the variable value to decrementInt32
Increment (1 parameter)Increments a specified variable and stores the result. Int32: the variable value to incrementInt32
Increment (0 parameters)Increments a specified variable and stores the result. Int32: the variable value to incrementInt32
ResetStateResets all component properties to their initial values.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us