$ZINCREMENT (legacy function)
Adds a specified increment to the existing value of a global or local variable.
Synopsis
$ZINCREMENT(variable,num)
Parameters
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. |
Description
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
-
$INCREMENT function