%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
StructVarStructured variable.
ColumnStructured variable column.
first_row, last_rowRange 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)
Napíšte komentár