Skip to main content

This is documentation for Caché & Ensemble. See the InterSystems IRIS version of this content.

For information on migrating to InterSystems IRIS, see Why Migrate to InterSystems IRIS?

$ZINCREMENT (legacy function) (ObjectScript)

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

Feedback