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

TFPOrderingOperation.Check

Validate the ordering operation for correctness

Declaration

Source position: fpexprpars.pp line 218

public procedure TFPOrderingOperation.Check; override;

Description

The Check method validates that both operands of the ordering operation are compatible for comparison and can be meaningfully ordered. It ensures that the operands are of types that support ordering relationships.

The validation process checks that both operands are of comparable types (such as numeric types, strings, or dates) and that the comparison operation can be safely performed. It raises an exception if incompatible types are found.

The Check method extends the base validation from TFPBooleanResultOperation with ordering-specific type checking requirements.


Documentation generated on: Dec 15 2025