Type Byte

BlitzMax Forums/BlitzMax Beginners Area/Type Byte

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.

If it was a padded INT it would need bounds checking.
As I dont think it is a padded int, it doesnt. (It was a badly delevered NOR example)

I was pointing out that it didnt need bounds checking, because of its size. Which it would have needed if Flames suggestion about the padded ints was right.

A single byte needs the same space as an Int, two btyes need the same space as an int etc

Edit: What was sudgested was that there wouldnt be a significant increase in size. And that Bytes would be stored as INTs. If this was so there would need to be some bounds checking placed ontop of the int. As both you and I proved, this was not so.