Unary Operators

The plus symbol (+) and the minus symbol (-) are unary operators applicable to numerical expressions. The - operator has the effect of negating the expression that follows it.

The + operator has no effect, and is included in the language for symmetry purposes only. These + and - unary operators are not applicable to Boolean expressions.

The not unary operator is applicable to Boolean expressions. It has the effect of logically negating the Boolean expression that follows it.