BitwiseShiftRight |
Type | operator |
Dictionary | LCB |
Library | LiveCode Builder |
Syntax | <Operand> shifted right by <Shift> bitwise
|
Associations | com.livecode.bitwise |
Summary | Shifts the bits of Operand right.
|
Parameters | Name | Type | Description |
---|
Operand | | An expression which evaluates to an integer.
|
Shift | | An expression which evaluates to an integer.
|
|
Example | variable tVar
put 7 shifted right by 2 bitwise into tVar
|
Values | Name | Type | Description |
---|
return | | The result of bit-shifting Operand right by Shift places.
|
|
Description | Shifts the bits of Operand right. Shifting the bits of Operand
right by x is equivalent to dividing by 2^x (rounding down)
|
Tags | bitwise operations |