Description:
Used to perform logical negation on an expression.
Syntax:
result = Not expression
Note:
The result is determined according to the following table:
expression: | result: |
---|
true | false |
---|
false | true |
---|
If the expression is numerical, then operator inverts each bit value and sets the corresponding resulting bits according to the following table:
If bit in expression is: | then bit in result is: |
---|
0 | 1 |
---|
1 | 0 |
---|