- Operator

Subtracts one value from a second value, or changes the sign of a value.

Syntax

Binary construct

expression_1 - expression_2

Unary construct

- expression_1

Parts

expression_1
A numeric expression.
expression_2
In the binary construct, a numeric expression.

Instructions

The binary operator - subtracts the value of expression_2 from the value of expression_1 and returns the difference.

The unary operator - negates the value of expression_1. If the value is positive, then it returns a negative value. If the value is negative, then it returns a positive value. If the value is zero, then it returns zero.

Examples

TODO

See also