StructRowStatAVG
%StructRowStatAVG function
Function
The function calculates the average value of all values of the row of the structured variable.
Declaration
REAL %StructRowStatAVG(
in StructVar[row]^Column,
INT in num_cols
)Parameters
StructVar | Structured variable. |
Column | Column of the structured variable. |
num_cols | The number of columns included in the calculation. If the parameter is < 0, then all columns from the column defined by the parameter Column will be included in the calculation. |
Note
The function sets the user values as a sum for the resulting value
Example
%StructRowStatAVG(SV.Structure^Int, 2)Related pages: