Provides a way to perform a bitwise complement of an unsigned integer such that each bit in the result is the opposite of the corresponding bit in the operand. This is equivalent to the ~ operator in C/C++/C#/Java. Implemented by the types byte
, word
, dbyte
, qbyte
, and obyte
.
The "T
" represents the actual unsigned integer type being used.
operator bnot var T left returns T
Wiki: Operators
Wiki: operators-and
Wiki: operators-band
Wiki: operators-bnand
Wiki: operators-bnor
Wiki: operators-bor
Wiki: operators-bxnor
Wiki: operators-bxor
Wiki: operators-nand
Wiki: operators-nor
Wiki: operators-not
Wiki: operators-or
Wiki: operators-xnor
Wiki: operators-xor