Skip to content

TFPConstExpression.AsString

Get string representation of constant expression

Declaration

Source position: fpexprpars.pp line 485

public 
function TFPConstExpression.AsString : AnsiString;  override;

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.