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

TIfOperation.AsString

Get string representation of conditional operation

Declaration

Source position: fpexprpars.pp line 273

public function TIfOperation.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.


Documentation generated on: Dec 15 2025