Sign in Join
FPDoc Onlineexperiment

TIfOperation.Condition property

Member of TIfOperationpublicIn unit fpExprPars

The condition expression of the if operation

Declaration

pascal
property Condition: TFPExprNode read FCondition;

Description

The Condition property provides access to the boolean condition expression that determines which branch of the conditional operation will be evaluated. The condition must evaluate to a boolean result.

The condition is evaluated first, and based on its boolean result, either the then-branch or else-branch expression is evaluated to provide the final result of the conditional operation.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.