Please assist with bit operations.

BlitzMax Forums/BlitzMax Beginners Area/Please assist with bit operations.

I notice you shift to the left once you reach the 4th (an 8) in the hexidecimal number, restarting with '1'.
Do you continue to do that after $1000? ($2000, $4000, $8000, $10000??)