[thelist] ASP - if x = every nth?

Ross DeMeyere ross.demeyere at gmail.com
Wed Jun 6 11:40:46 CDT 2007


On Jun 6, 2007, at 11:14 AM, Jon Hughes wrote:

> Thank you all for that :)
>
> What about if it's not even?
>
> Example:
>
> if i = 4 or i = 9 or i = 14 or i = 19 or i = 24 or i = 29 or i = 34  
> or i
> = 39 or i = 44 or i = 49 then
>
> if (I mod 4) = 0 then
>
> does not do the same thing.

wait... even better...

if (i mod 5) = 4 then


Ross DeMeyere
demeyere.com



More information about the thelist mailing list