Negate and not (- and !)
Minus a number or a position; the opposite of TRUE or FALSE.
Syntax
-value
!value
Result
The value negated: a number or position the other way; TRUE for FALSE and FALSE for TRUE.
Examples
In the example drawing:
| Expression | Gives |
|---|---|
-5 |
-5 |
-P2 |
[-500,-300] |
!TRUE |
FALSE |
!(1>2) |
TRUE |