%StructRowStatSUM function


Function

The function calculates the sum of all values of the row of the structured variable.

Declaration


REAL %StructRowStatSUM(
       in StructVar[row]^Column, 
   INT in num_cols
 )


Parameters


StructVarStructured variable.
ColumnColumn of the structured variable.
num_colsThe 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


%StructRowStatSUM(SV.Structure^Int, 2)