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

TFPConstExpression.AsString

Get string representation of constant expression

Declaration

Source position: fpexprpars.pp line 485

public function TFPConstExpression.AsString: AnsiString; override;

Function result

Returns string representation of the constant

Description

The AsString method returns a string representation of the constant expression, showing the constant value in a readable format. The string representation varies based on the data type of the constant value.


Documentation generated on: Dec 15 2025