04-13-2005, 01:38 PM
|
#7 (permalink)
|
|
The Contributor
Join Date: Apr 2005
Location: Kent, UK
Posts: 54
Thanks: 0
|
ShadowWind, if you look three posts above yours you'll see basically the same thing, but without the extra step of finding the value of $j (which should start with $j=1 somewhere outside the if construction to seed the initial value). And several of the other posts use variants of the toggle technique, eg NotteScura's method.
|
|
|
|