%StructStatAVG function


Function
The function calculates the average value from valid values of 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 values as a sum for resulting value
Example
%StructStatAVG(SV.Structure^Int, 4, 6)

Napíšte komentár