Increment command

From m204wiki
Revision as of 03:25, 1 December 2022 by Ekern (talk | contribs)
Jump to navigation Jump to search
Action:

Increases the value by 1 of a specified numeric macro variable. If the macro variable is non- numeric or is undefined, an error is issued.

Syntax:

increment &var 

where &var is a macro variable that may or may not already exist.

For an example that uses the increment command, see the evaluate command.

The inverse of this command is decrement. A related Client &&function is &&sum.

Client menu: --
Introduced: Build 57