Sign in Join
FPDoc Onlineexperiment

TFPExpressionParser.InitAggregate procedure

Member of TFPExpressionParserpublicIn unit fpExprPars

Initialize aggregate calculation

Declaration

pascal
procedure InitAggregate

Description

The InitAggregate method initializes all aggregate functions within the expression for aggregate processing. It prepares aggregate functions like Sum, Count, Average, Min, and Max for data processing by resetting their internal state.

The InitAggregate method must be called before processing data sets with expressions containing aggregate functions to ensure correct aggregate calculations.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.