Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NOT operator to reverse bits ?
#3
Ahhhhh... I am so stupid.

Yeah, "a AND NOT b" works fine. It turns out that a few lines of code above, value "a" was being changed when it should not have, ironically due to use of OR:

Code:
IF ActType% = 3 OR 5

instead of

Code:
IF ActType% = 3 OR ActType% = 5

*sigh*

Thanks, anyway, for the response!

*peace*

~ Megan.
Reply


Messages In This Thread
NOT operator to reverse bits ? - by Meg - 02-23-2007, 10:34 PM
NOT operator to reverse bits ? - by Neo - 02-23-2007, 10:45 PM
NOT operator to reverse bits ? - by Meg - 02-24-2007, 12:21 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)