[Array] sum | Manual

[Array] sum

Takes the sum of an array. This message will calculate the sum of the numerical elements in the array.

 a := Array ← 1 ; 2 ; 3.
 s := a sum. #6

 In the example above, the sum of array will be stored in s and
 it's value will be 6.

back to homepage
back to manual menu

This API reference guide has been generated automatically from source code comments using the shtml.ctr script.