Unit 'fpexprpars' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TFPLessThanEqualOperation

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

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

Declaration

Source position: fpexprpars.pp line 241

type TFPLessThanEqualOperation = class(TFPGreaterThanOperation)

public

  function AsString; override;

  

Get string representation of less-than-equal operation

end;

Inheritance

TFPLessThanEqualOperation

  

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

|

TFPGreaterThanOperation

  

Internally used class for greater-than comparison operations

|

TFPOrderingOperation

  

Internally used class for ordering comparison operations

|

TFPBooleanResultOperation

  

Internally used class for operations that result in boolean values

|

TFPBinaryOperation

  

Internally used class for binary operations with left and right operands

|

TFPExprNode

  

Class for representing nodes in expression trees

|

TObject

Description

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

The operation compares two values and returns True if the left operand is less 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 less-than testing, returning True when either condition is satisfied.

See also

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025