Logical shift to the left
lshift expression1 expression2
Logical shift of the value of expression1 to the left by number of bits given with expression2.
If expression2 is negative, then shift to the right is performed. Values of expressions must be
integers.
Example:
"x := 3
print lshift :x 2
print lshift :x (-2)
Output:
12
0
See also:
Table of Content