Roll

Rotate the bits in a variable left 1 bit, the most significant bit will be "rolled" over to the least significant bit.

Syntax: Roll variable

var

Required. Variable or value to shift

Notes Arrays, Strings, and Boolean variables are not allowed

Example:

Dim a As uByte, b as uInteger
a=0x80
b=0x4000

Roll a      ' a is now 0x01
Roll b      ' b is now 0x8000
 

Also See: Rolr, Shr, Shl