Skip to main content

This version of the product is no longer supported, and this documentation is no longer updated regularly. See the latest version of this content.Opens in a new tab

BitNot Operator

Used to perform bitwise negation on a numeric expression.

Synopsis

result = BitNot expression

Arguments

The BitNot operator syntax has these parts:

result Any numeric variable.
expression Any expression.

Description

The BitNot operator inverts the bit values of any variable and sets the corresponding bit in result according to the following table:

Bit in expression Bit in result
0 1
1 0

See Also

FeedbackOpens in a new tab