Skip to content

TFPNegateOperation.AsString

Get string representation of negation operation

Declaration

Source position: fpexprpars.pp line 467

public 
function TFPNegateOperation.AsString : AnsiString;  override;

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.