$toggle = 1 - $toggle; [download]
In reply to Re: Boolean counter? by eye in thread Boolean counter? by DreamT