Initialize maximum aggregation
Source position: fpexprpars.pp line 670
public procedure TAggregateMax.InitAggregate; override; |
The InitAggregate method initializes the maximum aggregate for a new aggregation cycle. It sets up the internal state needed to track the maximum value across multiple value updates.
The method resets an internal flag, indicating that the next value processed will be the first value in the aggregation sequence. It also prepares any internal storage needed for the maximum calculation.
The InitAggregate method must be called before starting a new aggregation cycle to ensure proper initialization of the aggregate state.