BitwiseNot |
Type | operator |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | bitwise not <Operand>
|
Associations | com.livecode.bitwise |
Summary | Performs a bitwise NOT operation on the binary representation of Operand.
|
Parameters | Name | Type | Description |
---|
Operand | | An expression which evaluates to an integer.
|
|
Example | variable tVar as Number
put bitwise not -5 into tVar
|
Values | Name | Type | Description |
---|
return | | The integer whose binary representation is the result of the bitwise NOT operation.
|
|
Description | Bitwise not returns the complement of Operand as a signed two's
complement integer, i.e. equivalent to -(x + 1).
|
Tags | bitwise operations |