| Syntax |
|
| Documentation | Calculates the sum of all given parameters:
|
| Examples | |
Calculate the sum of all numbers in the range of 1 through 10:
$for {$set{counter}{0}} {$lessOrEqual{$get{counter}}{10}} {$incLocal{counter}}
$set{sum}{$add{$get{sum}}{$get{counter}} } |
|
| Group | Math |
| Minimum required transaction-mode: | NONE |
| Required scripting permission of the developer | PERMISSION_FL_BASIC |
| Minimum parameters | 2 |
| Maximum parameters | <unlimited> |