old byte bug

BlitzMax Forums/BlitzMax Programming/old byte bug

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.

Doesn't look like it. By the way, it's a For..Next / Global combo issue, not a byte one.

This works:
Strict
Local a:Byte
For a=0 To $FF
	Print a
Next
but this doesn't:
Global b:Short
For b=0 To $FFFF
	Print b
Next