&&sum: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Returns the sum of the function arguments. </span> '''Syntax:''' <p class="syntax">&&sum(''...")
 
No edit summary
 
Line 13: Line 13:
<span class="f_Para">If fewer than two arguments are passed, or if any argument has a non-numeric value, an error is issued. </span>
<span class="f_Para">If fewer than two arguments are passed, or if any argument has a non-numeric value, an error is issued. </span>


<span class="f_Para">See also the </span><span class="f_Monospace">[[Increment command|increment]]</span><span class="f_Para"> and </span><span class="f_Monospace">[[Decrememnt command|decrement]]</span><span class="f_Para"> commands. </span>
<span class="f_Para">See also the </span><span class="f_Monospace">[[Increment command|increment]]</span><span class="f_Para"> and </span><span class="f_Monospace">[[Decrement command|decrement]]</span><span class="f_Para"> commands. </span>
|-
|-
| '''Introduced:'''
| '''Introduced:'''
| <span class="f_Para">Build 58</span>
| <span class="f_Para">Build 58</span>
|}
|}

Latest revision as of 16:55, 24 August 2022

Action:

Returns the sum of the function arguments.

Syntax:

&&sum(valuevalue ...) 

where value is a numeric constant, or a macro variable.

If fewer than two arguments are passed, or if any argument has a non-numeric value, an error is issued.

See also the increment and decrement commands.

Introduced: Build 58