Please assist with bit operations.

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

yes and no, it works like this:
Local h:Int = 1

For i:Int = 0 To 31
	n:Int = h Shl i
	Print RSet(String(n),16)+ " "+ Hex(n) + "  "+ Bin(n)
Next


I hope the negative doesn't throw you off. The thirty second bit is used by blitzmaxt to represent negative numbers.