The Bitwise NOT '!' operator performs a bitwise NOT (inverse, or one's-complement) of the bits of the operand that follows it. Bitwise NOT can be used in both variable and integer constant expressions, but not in floating-point constant expressions.
Each bit of the two operands is subject to the following logic:
Bitwise NOT Truth Table | |
---|---|
A | Result |
0 | 1 |
1 | 0 |
Example:
Code Block |
---|
X := !%00101100 |
...