Contra

The Contra built-in variable method inverts the sign of the signed number-primitive variable. This is equivalent to changing a debit to a credit, or a credit to a debit.

Syntax

<<variable>>::Contra(void) : void

Owner

Any variable.

Example

Quantity:= 5       : Quantity has the value 5
Quantity.Contra()   : Quantity is now –5