Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

$ZINCREMENT (legacy function)

Adds a specified increment to the existing value of a global or local variable.




Argument Description
variable The variable whose value is to be incremented.
num Optional — The numeric increment you want to add to variable. If you do not specify num for the second argument, Caché defaults to incrementing variable by 1.


This page describes the legacy function $ZINCREMENT. It is described here for compatibility with legacy applications. $ZINCREMENT is an alias of $INCREMENT, which is the function call that should be used for new applications.

See Also