Decrement command

From m204wiki
Revision as of 19:21, 27 January 2023 by Ekern (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Action:

Decreases 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:

decrement &var

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

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

Client menu: --
Introduced: Build 57