Shl

Shift the bits of a variable left.

Syntax: Shl(var,bits)

var

Required. Variable or value to shift

bits

Required. Number of bits to shift by

 

Example:

Dim a As uLong, b As uLong
b=2
a=Shl(b,2) ' a is now 8
 

Also See: Shr, Roll, Rolr