Skip to content

TFPGreaterThanEqualOperation

Internally used class for greater-than-or-equal comparison operations

Declaration

Source position: fpexprpars.pp line 251

type

  TFPGreaterThanEqualOperation = class(TFPLessThanOperation)
  public
    function AsString : AnsiString;
  end;

Description

The TFPGreaterThanEqualOperation class implements the greater-than-or-equal comparison operation (>=) between two operands of compatible types. It extends TFPOrderingOperation to provide greater-than-or-equal-specific comparison logic.

The operation compares two values and returns True if the left operand is greater than or equal to the right operand, False otherwise. It handles different data types appropriately, using numeric comparison for numbers, lexicographic comparison for strings, and chronological comparison for date/time values.

This operation combines both equality and greater-than testing, returning True when either condition is satisfied.

Methods

Member Visibility Description
AsString public Get string representation of greater-than-equal operation
See all Methods

See also

Name Description
TFPExprNode Class for representing nodes in expression trees