Luck always runs out eventually. The more variables you have in the program ... the more likely to see the problem.

Quote Originally Posted by mr.sneezy View Post
Mode = Mode ^ %00000001 ' Reverse state of bit var Mode
That's valid!

So is ...
Code:
Mode.0 = !Mode.0
Mode.0 = NOT Mode.0
Mode.0 = Mode.0 ^ 1
Mode.0[0] = ~Mode.0[0]
...
Anything but TOGGLE, unless it's a PIN.
<br>