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

TFPBooleanOperation.Check

Validate the boolean operation for correctness

Declaration

Source position: fpexprpars.pp line 156

public procedure TFPBooleanOperation.Check; override;

Description

The Check method validates that both operands of the boolean operation are boolean expressions. It ensures type compatibility and prevents type mismatches that would result in runtime errors during evaluation.

The validation process checks that both the left and right operands produce boolean results, raising appropriate errors if non-boolean operands are found.


Documentation generated on: Dec 15 2025