Update minimum aggregate with new value
Source position: fpexprpars.pp line 661
public procedure TAggregateMin.UpdateAggregate; override; |
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.