Sign in Join
FPDoc Onlineexperiment

TAggregateCount.InitAggregate procedure

Member of TAggregateCountpublicIn unit fpExprPars

Initialize count aggregation

Declaration

pascal
procedure InitAggregate; override

Description

The InitAggregate method initializes the count aggregate for a new aggregation cycle. It resets the internal counter to zero, preparing the aggregate to count new values from the beginning.

The method sets up the initial state needed for accurate counting and ensures that the counter starts from zero for each new aggregation sequence.

Proper initialization is essential for accurate count results, as it establishes the starting point for the counting process.

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