odd behavior of ^

BlitzMax Forums/BlitzMax Programming/odd behavior of ^

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.

@FlameDuck.

That code snippet is not compatible. as that shifts 2 around.

rather than being a power of 2

flags :| (1 shl i) = flags :+ (2 ^ (i+ 1))

Just thought I'd point it out. :D