I WAS trying .. it does also happen to run *shudder* Spectra... a
specter which still darkens my doorway


The block was small enough that I was able to wrap the CFSCRIPT itself
and then do some other settings...

MD


On Mon, 7 Mar 2005 11:20:13 -0600, Jared Rypka-Hauer - CMG, LLC
<[EMAIL PROTECTED]> wrote:
> They all be right, dude...
> 
> So wrap your CFSCRIPT tag in a cftry/cfcatch block. That's not
> particularly granular, though, is it? And blowing up a whole block
> because one bit errored out is particularly unfortunate...
> 
> Here's a thought... if you were to create a UDF inside a CFTRY/CFCATCH
> block, with it's own CFSCRIPT tag, that did the bits you needed
> try/catch around, and then called that UDF from another CFSCRIPT tag
> set, does the CFTRY/CFCATCH work correctly? If it does, that may be
> your answer. I'm just unsure of how CF 5 handles that sort of thing...
> would the try/catch work correctly when the code inside them is being
> executed via function calls from other parts of the page... it strikes
> me that the answer to this should be an unequivocal YES... that's how
> it's supposed to work. Give it a try...
> 
> I also think you need to upgrade. :) Make'em get you a copy of CFMX7
> Enterprise, and then start sharing sandboxes, and give us all our own
> instance and gateways and stuff, eh?
> 
> A guy can try, no?
> 
> 
> On Mon, 7 Mar 2005 16:10:48 +0000, Mark Drew <[EMAIL PROTECTED]> wrote:
> > I am having a blonde moment (no offence to blondes... but hey)
> >
> > can you use try/catch in cfscript in cf5?
> >
> > I keep getting errors with it and I cant find the language differences
> > page in MM's site
> >
> > MD
> >
> >
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:197840
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

Reply via email to