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.

Never seen that symbol for XOR before.

So what we're saying then, is that:

A=~A

Inverses A, like doing a NOT, all 1's become 0's, all 0's become 1's

and

A=A~B

Does an XOR between A and B, whereby if you did a second XOR it would restore the data back to its previous value.

Right?