[thelist] ASP - if x = every nth?
Jonathan Snook
jonathan.snook at gmail.com
Wed Jun 6 10:34:05 CDT 2007
"if i mod 5 = 0 then"
On 6/6/07, Jon Hughes <hughesj at firemtn.com> wrote:
> I have the following opening if statement:
>
> if i = 5 or i = 10 or i = 15 or i = 20 or i = 25 or i = 30 or i = 35 or
> i = 40 or i = 45 or i = 50 then
>
> It works, but it's not pretty, and not very versatile, if I have more
> than 54 items.
>
> Essentially, this performs and action on every 5th item (causes it to
> move to the next line down) - Is there any way to just say:
>
> If I = a product of 5
>
> ?
>
> Thanks,
>
> - Jon
> --
>
> * * Please support the community that supports you. * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !
>
More information about the thelist
mailing list