Max Integer Value

BlitzPlus Forums/BlitzPlus Beginners Area/Max Integer Value

The Forum Archive is locked. These are the original blitzbasic.com forums, kept so their posts can still be read and searched. No new topics, replies or edits can be made here. To join the conversation, head over to the Blitz3D+ forums.


does BlitzMax have the option for +ve ints?


BlitzMax caters for 64bit (Long) integers and (Double) floats:

32 bit signed integer (Int): -2^31 to +2^31-1
64 bit signed integer (Long): -2^63 to +2^63-1

So you could feasibly have 32bit unsigned integers by converting to positive 64bit long integers.