11-17-2012, 03:16 PM
Bit shift by 0, when 0 is from a variable=0, which is incorrect!
All three lines should read "1"
Code:
DIM num as uByte=1
DIM num2 as uByte=0
PRINT num
PRINT (num<<0)
PRINT (num<<num2)
All three lines should read "1"