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

TAggregateAvg.InitAggregate

Initialize average aggregation

Declaration

Source position: fpexprpars.pp line 689

public procedure TAggregateAvg.InitAggregate; override;

Description

The InitAggregate method initializes the average aggregate for a new aggregation cycle. It resets both the sum accumulator and the count of processed values to zero, preparing the aggregate for processing new values.

The method calls the parent TAggregateSum.InitAggregate to handle sum initialization and additionally resets the count tracking needed for average calculation.


Documentation generated on: Dec 15 2025