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

TAggregateSum.InitAggregate

Initialize sum aggregation

Declaration

Source position: fpexprpars.pp line 679

public procedure TAggregateSum.InitAggregate; override;

Description

The InitAggregate method initializes the sum aggregate for a new aggregation cycle. It resets the internal accumulator to zero and prepares the aggregate state for processing new values.

The method sets up the appropriate initial values based on the expected result type (integer, float, or currency) and ensures that the accumulator is ready to receive and sum new values.


Documentation generated on: Dec 15 2025