not(
not(
VALUE
)

The not( function reverses a Boolean value

Parameters

This function has one parameter:

value – a Boolean (integer) value.

Description

This function reverses a Boolean value.

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

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

See Also

- and -- returns true if both operands are true.
- between( -- checks to see if a value is between two other values.
- boolstr( -- converts a Boolean value to text, either `"true"` or `"false"`.
- false( -- returns false.
- limit( -- checks to see if a value is between a minimum and maximum value. If it is, the value is returned unchanged. If it is below the minimum, the minimum value is returned. If it is above the maximum the maximum value is returned.
- not -- reverses a boolean value.
- notbetween( -- checks to see if a value is *not* between two other values.
- or -- returns true if either operand is true, or false if both are false.
- switch( -- chooses from a list of values.
- true( -- returns true.
- xor -- returns true if one of the two parameters is true, false if neither or both are true.

History

Version | Status | Notes
10.0 | No Change | Carried over from Panorama 6.0 (however it was not documented).