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

TFPNotNode.Check

Validate the NOT operation for correctness

Declaration

Source position: fpexprpars.pp line 388

public procedure TFPNotNode.Check; override;

Description

The Check method validates that the operand of the NOT operation is a boolean expression. It ensures type compatibility and prevents type mismatches that would result in runtime errors during evaluation.

The validation process checks that the operand produces a boolean result, raising appropriate errors if non-boolean operands are found.


Documentation generated on: Dec 15 2025