Decrement command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__  <div id="printheader"> <br /> <span id="decrement-command"></span> = <span class="f_Heading1">decrement command</span> = </div> <div id="idcontent"> <div id=...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
__TOC__
__TOC__

<div id="printheader">
<br />
<span id="decrement-command"></span>
= <span class="f_Heading1">decrement command</span> =
</div>
<div id="idcontent">
<div id="innerdiv">
<div style="text-align: left; text-indent: 0; padding: 0 0 0 0; margin: 10px 0 10px 0;">


{|
{|
|width="50%"| <span class="f_Label">Action:</span>
|width="125px"| '''Action:'''
|width="50%"|
|width="575px"|
<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|macro variable]]. If the macro variable is non-numeric or is  undefined, an error is issued. </span>


'''Syntax:'''
'''Syntax:'''
Line 28: Line 12:
where ''&amp;var'' is a macro variable that may or may not already exist.
where ''&amp;var'' is a macro variable that may or may not already exist.


<span class="f_Para">The inverse of this command is [[increment_cmd.html|increment.]] A related Client 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 [[increment command|increment.]] A related Client 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 19:21, 27 January 2023

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