On 11/11/05, John Beynon <[EMAIL PROTECTED]> wrote: > ok, here's a chunk of code; > > <cftry>Prices: > £#numberformat(application.siteCodes.sitecode[thissitecode].pricerange.minprice)# > - > £#numberformat(application.siteCodes.sitecode[thissitecode].pricerange.maxprice)#</p> > <cfcatch><!--- invisibly catch errors---></cfcatch></cftry> > > If the data is not present in the application scope what would you > expect to see? > > 1. Nothing > 2. Prices:
(2) because the output of the string Prices: succeeds and then the next piece of code fails. cfcatch doesn't rollback execution of any successful code that was executed prior to the exception being thrown. (Just in case others are puzzled by this, since John didn't explain *why* he's not still looking for a solution) -- Sean A Corfield -- http://corfield.org/ Got frameworks? "If you're not annoying somebody, you're not really alive." -- Margaret Atwood ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223959 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

