I use CFABORT inside functions all the time. Never in production, but a CFDUMP immediately followed by a CFABORT is a very handy way to debug (as long as you don't need to display the inaccessible local variables scope, of course).
Cheers, barneyb > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Vince Bonfanti > Sent: Tuesday, June 29, 2004 2:39 PM > To: [EMAIL PROTECTED] > Subject: [CFCDev] CFEXIT or CFABORT within CFFUNCTION > > Can anyone think of any legitimate use of CFEXIT or CFABORT with a > CFFUNCTION? I can't: if the functions finishes normally use > CFRETURN, if > abnormally use CFTHROW. > > I can't find any docs that say use of CFEXIT or CFABORT is allowed or > disallowed within CFFUNCTION. I'd be in favor or saying > they're disallowed, > and have the CFML server (BlueDragon/ColdFusion) throw a syntax error > ("illegal tag nesting", or some such) if they're attempted to > be used this > way. > > Any thoughts? Am I missing something? > > Vince Bonfanti > New Atlanta Communications, LLC > http://www.newatlanta.com ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [EMAIL PROTECTED] with the words 'unsubscribe cfcdev' in the message of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by Mindtool, Corporation (www.mindtool.com). An archive of the CFCDev list is available at www.mail-archive.com/[EMAIL PROTECTED]
