Sign in Join
FPDoc Onlineexperiment

TIfOperation.AsString function

Member of TIfOperationpublicIn unit fpExprPars

Get string representation of conditional operation

Declaration

pascal
function AsString: AnsiString; override

Function result

Returns string representation of the conditional

Description

The AsString method returns a string representation of the conditional operation, typically showing the condition, then-branch, and else-branch expressions in a readable format such as "if condition then expr1 else expr2" for debugging and display purposes.

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