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 > > ? if a mod 5 = 0 and a <= 50 then http://ns7.webmasters.com/caspdoc/html/vbscript_mod_operator.htm -- Matt Warden Cleveland, OH, USA http://mattwarden.com This email proudly and graciously contributes to entropy.