TIfOperation.Check procedure
Validate the conditional operation for correctness
Declaration
procedure Check; overrideDescription
The Check method validates the conditional operation by checking that the condition
expression evaluates to a boolean type and that the then-branch and else-branch expressions are present and valid.
The validation ensures that the condition is a boolean expression and that both branch expressions are compatible for the intended result type. It also validates all three operand expressions recursively.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
