BitwiseShiftLeft
Type
operator
Summary
Shifts the bits of Operand left.
Syntax
<Operand> shifted left by <Shift> bitwise
Description
Shifts the bits of Operand left. Shifting the bits of Operand left by x is equivalent to multiplying by 2^x.
Parameters
Name | Type | Description |
---|---|---|
Operand | An expression which evaluates to an integer. | |
Shift | An expression which evaluates to an integer. |
Examples
variable tVar
put 7 shifted left by 2 bitwise into tVar -- tVar contains 28