Page tree
Skip to end of metadata
Go to start of metadata

%StructStatSUM function


Function
The function returns the sum of valid values of given structured variable column. Row range is defined by the parameters first_row a last_row.
The result is a real number.
Declaration
REAL %StructStatSUM(
       in StructVar^Column, 
   INT in first_row, 
   INT in last_row
 )

Parameters
StructVar Structured variable.
Column Structured variable column.
first_row, last_row Range of rows in the column.

Note
The function sets the user values as a sum for resulting value
Example
%StructStatSUM(SV.Structure^Int, 4, 6)

Write a comment…