The not operator reverses a boolean value.


This operator has one parameter:

value – A Boolean (integer) value.


The not operator reverses a Boolean value – true becomes false, false becomes true. Not is a unary operator, so there is no parameter on the left, only a single parameter on the right.

not true() ☞ false
not false() ☞ true
not 1=1 ☞ false
not "green"="blue" ☞ true

Note for C Programmers: The not operator is equivalent to the ~ operator in C. It actually performs a ones-complement on the value, so you can use this operator if you need to “flip the bits” in a numeric value.

See Also


10.0UpdatedCarried over from Panorama 6.0, but you are no longer required to put parentheses around the formula in a procedure if it begins with the *not* operator.