Sign in Join
FPDoc Onlineexperiment

TAggregateMin.InitAggregate procedure

Member of TAggregateMinpublicIn unit fpExprPars

Initialize minimum aggregation

Declaration

pascal
procedure InitAggregate; override

Description

The InitAggregate method initializes the minimum aggregate for a new aggregation cycle. It sets up the internal state needed to track the minimum value across multiple value updates.

The method sets an internal flag, indicating that the next value processed will be the first value in the aggregation sequence. It also prepares any internal storage needed for the minimum calculation.

The InitAggregate method must be called before starting a new aggregation cycle to ensure proper initialization of the aggregate state.

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