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

TFPUnequalOperation

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

Internally used class for inequality comparison operations

Declaration

Source position: fpexprpars.pp line 207

type TFPUnequalOperation = class(TFPEqualOperation)

public

  function AsString; override;

  

Get string representation of inequality operation

end;

Inheritance

TFPUnequalOperation

  

Internally used class for inequality comparison operations

|

TFPEqualOperation

  

Internally used class for equality 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 TFPUnequalOperation class implements the inequality comparison operation (<>) between two operands of compatible types. It extends TFPBooleanResultOperation to provide inequality-specific comparison logic.

The operation compares two values and returns True if they are not equal, False if they are equal. It handles different data types appropriately, using numeric comparison for numbers, string comparison for strings, and boolean comparison for boolean values.

Type conversion is performed when necessary to compare values of different but compatible types, ensuring that the inequality test works across different numeric types.

See also

TFPExprNode

  

Class for representing nodes in expression trees


Documentation generated on: Dec 15 2025