Binary not operation???

Blitz3D Forums/Blitz3D Programming/Binary not operation???

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.

I just noticed, that unlike the And operation, Not in Blitz3d is not a binary operation...

For example:

(%111010 And %011011)

gives:

%011010

But:

(Not %10110)

Just gives zero. Not of any non-zero number seems to result in zero.

Does anyone know how to do a binary not operation in blitz3d?