Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TAggregateMax.InitAggregate

Initialize maximum aggregation

Declaration

Source position: fpexprpars.pp line 670

public procedure TAggregateMax.InitAggregate; override;

Description

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

The method resets 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 maximum calculation.

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


Documentation generated on: Dec 15 2025