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.

Bitwise exclusive or (A v B):

if A = B, (A v B) = 0
if A != B, (A v B) = 1

(EDIT: used ~ when I should technically have used v; while ~ is used to denote an XOR in BlitzMax, a more 'universal' symbol is v. Sorry for the confusion.)