Sign in Join
FPDoc Onlineexperiment

TAggregateMax.FFirst variable

Member of TAggregateMaxprotectedIn unit fpExprPars

Flag indicating first value in aggregation

Declaration

pascal
FFirst: Boolean

Description

This boolean field tracks whether the next value to be processed will be the first value in the aggregation sequence. It is used to determine when to initialize the maximum value rather than compare against an existing maximum.

The field is set to True during initialization and set to False after the first value is processed. This ensures that the first value becomes the initial maximum value, providing a proper starting point for subsequent comparisons.

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