BitwiseNot
Type
operator
Summary
Performs a bitwise NOT operation on the binary representation of Operand.
Syntax
bitwise not <Operand>
Description
Bitwise not returns the complement of Operand as a signed two's complement integer, i.e. equivalent to -(x + 1).
Parameters
Name | Type | Description |
---|---|---|
Operand | An expression which evaluates to an integer. |
Examples
variable tVar as Number
put bitwise not -5 into tVar -- tVar contains 4