This documentation was styled with a demo skin from the Premium Pack 4 add-on for Help & Manual. The contents of the skin are encrypted and not configurable. You can only publish HM projects with this skin. You cannot edit it or change it.
This version is copyright and may only be used for local testing purposes. It may not be distributed.
Please purchase the full version of the Premium Pack to get the configurable skins and remove this notice. The package will also include the Toolbox configuration utility for Premium Pack skins.
Description
Sum all array elements returning result operation. Array can be any numeric or even string type. Conversion will take care automatically.
Syntax
n = ARRAY SUM ArrayVariable([StartIndex]) [FOR nElements]
Returns
Numeric
Parameters
Name |
Type |
Optional |
Meaning |
ArrayVariable |
No |
Name of a declared and already dimensioned array. |
|
StartIndex |
Number |
Yes |
The element index inside the array from which to start. If omitted, 1 is assumed |
nElements |
Number |
Yes |
Number of elements to use starting from StartIndex. If omitted, end of the array is assumed. |
Remarks
Restrictions
See also
Examples