Category: Keywords
Syntax:
ShrU:Int()
Int
Logical (unsigned) shift right operator - shifts bits right, filling with zeros.
View detailed documentation online
Local colour:Int = $FF8040C0 Print colour ShrU 24 ; 255 (the alpha) - Shr would give -1 Print (colour ShrU 16) BitAnd 255 ; 128 (the red)
BambooBasic © 2026 Michael Denathorn