Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

%Ave function


Old name
%AveR


Function

The function returns

the

a time-weighted average of the values within a time period. The expression, that

consists

contains this function, must be evaluated on change.

Result

The result is a real value.

Declaration


Blok kódu
languageesl
themeConfluence
REAL %Ave(
   REAL in Arg, 
   UNIVAL in CalcTrigger, 
   BOOL in ResetTrigger
 )


Parameters


ArgVariable, which average is computed.
CalcTriggerObject, which change causes recalculation of the function. Its type is
optional
arbitrary.
ResetTriggerChange of the parameter into the TRUE state causes resetting the average.