basic.summation Function/BASIC Program

basic.summation

Command basic.summation Function/BASIC Program
Applicable release versions: AP 6.2, R91
Category BASIC Program (486)
Description returns the sum of a list of numbers delimited by attribute, value, or subvalue marks. If different orders of marks are present, the "summation" function will add the contents of all fields regardless of delimiter.
Syntax summation(string.expression)
Options
Example
$options ext
equ am to char(254)
print summation(3:am:3.2)

The result, "6.2", will be printed to the terminal.
Purpose
Related basic.$options