TFPNegateOperation.GetNodeValue procedure
Calculate the negated value
Declaration
procedure GetNodeValue(var Result: TFPExpressionResult); overrideArguments
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.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
