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

TFPNegateOperation.GetNodeValue

Calculate the negated value

Declaration

Source position: fpexprpars.pp line 466

public procedure TFPNegateOperation.GetNodeValue(

  var Result: TFPExpressionResult

); override;

Arguments

Result

  

Returns the negated result

Description

The GetNodeValue method performs the numeric negation by evaluating the operand and changing its sign. It multiplies the operand's value by -1, effectively converting positive values to negative and negative values to positive.


Documentation generated on: Dec 15 2025