in reply to Boolean counter?
I tend to use
$toggle *= -1;
Update: I stand corrected, thanks LanX. I often use that for alternating rows but it's wrong here.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Boolean counter?
by LanX (Saint) on Dec 07, 2009 at 23:09 UTC | |
Re^2: Boolean counter?
by Ratazong (Monsignor) on Mar 03, 2015 at 15:48 UTC |