maybe this? <cfloop from=1 to=10 index=y> <cfif NOT (y mod 2) > <cfcontinue> </cfif>
y=#y#<BR> </cfloop> On Thu, Apr 24, 2014 at 9:49 AM, Adam Cameron <dacc...@gmail.com> wrote: > > >Am i missing something obvious. > > [...] > >Only the last version is working as I would expect. I ran into this > >attempting to increment an index inside cfloop, so I could skip a few > >records in an array. > > It's difficult to say how your expectations are off, given you don't > *seem* to tell us what said expectations are. > > FWIW, all of that is working as I would expect. > > -- > Adam > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358401 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm