Can someone explain Shl and Shr please

BlitzMax Forums/BlitzMax Beginners Area/Can someone explain Shl and Shr please

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

a quick way to divide or multiple the number

...by powers of 2.
eg.
Print 1 Shl 1
Print 1 Shl 2
Print 1 Shl 3
Print 1 Shl 4
Print 1 Shl 5
Print 1 Shl 6
Print 1 Shl 7
Print 1 Shl 8