Sign in Join
FPDoc Onlineexperiment

TFPConstExpression.AsString function

Member of TFPConstExpressionpublicIn unit fpExprPars

Get string representation of constant expression

Declaration

pascal
function 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.

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