Language Reference Guide : 4. System Classes : IntegerObject Class : BitShift Method
 
Share this page                  
BitShift Method
The BitShift method returns the value of the IntegerObject with the bits shifted by n places.
This method has the following syntax:
integer8 = IntegerObject.BitShift(n = smallint);
This method has the following parameter:
n
(Required) Specifies the number of places to be shifted (-64 <= n <= 64). A left shift is performed for n<0; a right shift is performed otherwise. Sign extension is performed on a right shift (n>0), matching the behavior of C and Java.