Sign in Join
FPDoc Onlineexperiment

TAggregateMin.UpdateAggregate procedure

Member of TAggregateMinpublicIn unit fpExprPars

Update minimum aggregate with new value

Declaration

pascal
procedure 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.

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