All I see you doing is printing stuff to the screen. Your not using any BitWise commands on it. You have to tell it to use NOT.
Example : This AND this =.. The AND is part of the code.
You have to do that with NOT as well. You have to include that in your code.
This is the example that is from the help file :
IF NOT 0 THEN PRINT "this will print"
IF NOT 1 THEN PRINT "this will not print"
Its checking to see if its an unsigned number or not. If it can change, then it will flip it. If it cannot change, then it will not touch it. You cannot flip the Decimal number 0. There is no opposite. But a 1 can become a -1.
So look at the two examples again. If NOT tests the 0 and the answer still remains at 0 then it will print. If NOT tests a 1 and the answer is still not a 1 when it has been tested, then it will not print.
Get it now ?
"Life is like a box of chocolates.. eat it before it melts."