BitwiseXor |
Type | operator |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | <Left> bitwise xor <Right>
|
Associations | com.livecode.bitwise |
Summary | Performs a bitwise XOR operation on the binary representations of Left and Right.
|
Parameters | Name | Type | Description |
---|
Left | | An expression which evaluates to an integer.
|
Right | | An expression which evaluates to an integer.
|
|
Example | variable tVar as Number
put 3 bitwise xor 6 into tVar
|
Values | Name | Type | Description |
---|
return | | The integer whose binary representation is the result of the bitwise XOR operation.
|
|
Description | Each bit of Left bitwise xor Right is 1 if and only if exactly one of the corresponding bits of the binary representation of Left and that of Right is 1. Otherwise it is 0.
|
Tags | bitwise operations |