Skip to content

TIfOperation.AsString

Get string representation of conditional operation

Declaration

Source position: fpexprpars.pp line 273

public 
function TIfOperation.AsString : AnsiString;  override;

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.