Your idea works the following way - even if it doesn't look as elegant any more:
Rata (loving this thread)$toggle = -1 * ($toggle - 0.5) + 0.5;
In reply to Re^2: Boolean counter?
by Ratazong
in thread Boolean counter?
by DreamT
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |