summation() function

The summation() function returns the sum of a list of numbers delimited by attribute, value, or subvalue marks.

Syntax

summation(str.exp)

Parameter(s)

str.exp List of numbers, delimited by attribute, value, or subvalue marks, from which the sum is calculated.

Description

If different orders of marks are present, the summation() function adds the contents of all fields regardless of the delimiter.

Note: It is necessary to use a nondefault option setting to use this function. Inserting the line $options ext at the beginning of the source item accomplishes this.

Example(s)

The result, 6.2, displays.

$options ext
crt summation(3:@am:3.2)