NOT (DMX)
A logical operator that performs a logical negation on a numeric expression.
Składnia
NOT Expression1
Parametry
- Expression1
A valid DMX expression that returns a numeric value.
Wartość zwracana
A Boolean value that returns FALSE if the argument evaluates to TRUE; otherwise FALSE.
Uwagi
The argument is treated as a Boolean value (0 as FALSE; otherwise TRUE) before the operator performs the logical negation. If Expression1 is TRUE, the operator returns FALSE. If Expression1 is FALSE, the operator returns TRUE. The following table illustrates how the logical conjunction is performed.
If Expression1 is |
Return value is |
---|---|
TRUE |
FALSE |
FALSE |
TRUE |