Increment command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Increases the value by 1 of a specified numeric macro variable...")
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="575px"|
<span class="f_Para">Increases 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">Increases the value by 1 of a specified numeric [[Working with macro variables|macro variable]]. If the macro variable is non- numeric or is undefined, an error is issued. </span>


'''Syntax:'''
'''Syntax:'''
Line 14: Line 14:
<span class="f_Para">For an example that uses the </span><span class="f_Monospace">increment</span><span class="f_Para"> command, see the </span><span class="f_Monospace">[[Evaluate command|evaluate]]</span><span class="f_Para"> command. </span>
<span class="f_Para">For an example that uses the </span><span class="f_Monospace">increment</span><span class="f_Para"> command, see the </span><span class="f_Monospace">[[Evaluate command|evaluate]]</span><span class="f_Para"> command. </span>


<span class="f_Para">The inverse of this command is </span><span class="f_Monospace">[[Decrement command|decrement]].</span><span class="f_Para"> A related Client &amp;&amp;function is </span><span class="f_Monospace">[[sum_function.html|&amp;&amp;sum]]</span><span class="f_Para">. </span>
<span class="f_Para">The inverse of this command is </span><span class="f_Monospace">[[Decrement command|decrement]].</span><span class="f_Para"> A related Client &amp;&amp;function is </span><span class="f_Monospace">[[&&sum|&amp;&amp;sum]]</span><span class="f_Para">. </span>
|-
|-
| '''Client menu:'''
| '''Client menu:'''

Latest revision as of 21:24, 30 January 2023

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