Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Negate is the unary form of Subtract. Negate toggles the sign of the value on its right; a positive value becomes negative and a negative value becomes positive. For example:

Code Block
Val := -2 + A

Negate becomes an assignment operator when it is the sole operator to the left of a variable on a line by itself. For example:

...