BitNOT

BitNOT(<value>)

The function returns a bitwise «NOT» result for the passed value.

Parameters

valueThe number on which the operation will be performed.

Related

BitAND, BitOR, BitShift, BitXOR

Remarks

Bitwise operations are performed as 32-bit integers.

Examples

MsgBox(BitNOT(1))  # --> -2