BNOT operator

Synopsis
This operator performs a bitwise NOT operation.
Variations
BNOT Number
Performs a bitwise NOT operation.
Parameters
Number

Specifies a 32-bit integer.

Supported types: Numeric.
Returns
Returned types: Numeric.
Examples
1.

The following example returns -2. Note that 1 = 0x01 and -2 = 0xFE.

BNOT 1