comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » CATCH inside a FOR loop and out?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: CATCH inside a FOR loop and out? [message #88378 is a reply to message #88377] Thu, 17 April 2014 13:56 Go to previous messageGo to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Thursday, April 17, 2014 4:27:53 PM UTC-4, Mike Galloy wrote:
> CATCH is a routine, not a keyword currently. I, personally, don't think
> it would be so bad to add a keyword or two for nice exception handling.

True, but it's a system routine that everybody knows to avoid for their own routines already.

> Also, if you add something, I think it should have an optional "finally"
> clause as well.

I never understood the purpose of FINALLY, when you can just have cleanup code outside the exception handling clauses. Is it more than a visual cue?

Craig
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: DLM "unload"?
Next Topic: traces plot outside of x-axis boundaries

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 00:57:39 PDT 2025

Total time taken to generate the page: 0.32097 seconds