Decrement command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


{|
{|
|width="50%"| <span class="f_Label">Action:</span>
|width="50%"| '''Action:'''
|width="50%"|
|width="50%"|
<span class="f_Para">Decreases the value by 1 of a specified numeric [[working_with_macro_variables.html|macro variable]]. If the macro variable is non-numeric or is  undefined, an error is issued. </span>
<span class="f_Para">Decreases the value by 1 of a specified numeric [[working_with_macro_variables.html|macro variable]]. If the macro variable is non-numeric or is  undefined, an error is issued. </span>

Revision as of 02:01, 25 May 2022

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