Hello > What about if it's not even? > 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. If (I+1 mod 4) = 0... Of course that's arbitrary but it'd work as the difference is always 5 in your example Barry -----Original Message----- From: Jon Hughes [mailto:hughesj at firemtn.com] Sent: 06 June 2007 17:15 To: thelist at lists.evolt.org Subject: Re: [thelist] ASP - if x = every nth? Thank you all for that :) -----Original Message----- From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Ross DeMeyere Sent: Wednesday, June 06, 2007 8:40 AM To: thelist at lists.evolt.org Subject: Re: [thelist] ASP - if x = every nth? How about: if (i mod 5) = 0 then Ross DeMeyere demeyere.com -- * * 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 !