Sign in Join
FPDoc Onlineexperiment

TFPNegateOperation.AsString function

Member of TFPNegateOperationpublicIn unit fpExprPars

Get string representation of negation operation

Declaration

pascal
function AsString: AnsiString; override

Function result

Returns string representation of the negation

Description

The AsString method returns a string representation of the negation operation, typically showing the operand prefixed with a minus sign "-" for debugging and display purposes.

The string format helps in understanding the structure of arithmetic expressions and provides useful information for debugging expression parsing and evaluation.

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