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

TAggregateMin.UpdateAggregate

Update minimum aggregate with new value

Declaration

Source position: fpexprpars.pp line 661

public procedure TAggregateMin.UpdateAggregate; override;

Description

The UpdateAggregate method processes a new value in the minimum aggregation sequence. If this is the first value, it becomes the initial minimum. Otherwise, the new value is compared with the current minimum and replaces it if smaller.

After processing the first value, the FFirst flag is set to False to ensure subsequent values are properly compared against the established minimum.


Documentation generated on: Dec 15 2025