StructStatAVG

StructStatAVG

%StructStatAVG function


Function

The function calculates the average value from valid values of the given structure variable column. Row range is defined by the parameters first_row a last_row.
The result is a real number.

Declaration

REAL %StructStatAVG( 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 flags for result value as a sum of user flags of individual source values.

Example

%StructStatAVG(SV.Structure^Int, 4, 6)