> I'm looping over an array like so: > <cfloop > from="1" > to="#ArrayLen(application.myArray)#" > index="ArrayRows"> > ...blahblahblah... > </cfloop>
> Is there a way for me to stop execution of a as soon as > the loop code finds what it wants? > i.e. <cfif foo is "bar">endwhile goes here</cfif> <cfbreak> if I remember correctly... <cfloop ...> <cfif blah><cfbreak></cfif> </cfloop> hth s. isaac dealey 972-490-6624 new epoch http://www.turnkey.to lead architect, tapestry cms http://products.turnkey.to tapestry api is opensource http://www.turnkey.to/tapi certified advanced coldfusion 5 developer http://www.macromedia.com/v1/handlers/index.cfm?ID=21816 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

