Double meaning of ~

BlitzMax Forums/BlitzMax Programming/Double meaning 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.

xor = Bitwise eXclusive OR
~ = Bitwise complement (basically this reverses each bit in an integer so 0 would become 1 and vis-versa, you can get an explanation on it here - http://docs.hp.com/en/B3901-90007/ch05s04.html)