Bitwise Left Shift and Right Shift for VB
Version Compatibility: Visual Basic 6, Visual Basic 5
nNum >> 2; // right shift two places, nNum now = 2
Can be written in VB like this using these functions:
dim nNum as Long
nNum = RShift(8, 2)
Instructions: Copy the declarations and code below and paste directly into your VB project.