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

Home » Public Forums » archive » Simple question regarding CATCH,/CANCEL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Simple question regarding CATCH,/CANCEL [message #72670] Tue, 28 September 2010 14:28
Paul Van Delst[1] is currently offline  Paul Van Delst[1]
Messages: 1157
Registered: April 2002
Senior Member
Hello,

I use CATCH error handling in just about all of my IDL procedures/functions.

If no error occurs, do I need a
CATCH, /CANCEL
at the end of the pro/func? Or does exiting the pro/func cancel the error handling that was established on entry
automatically?

The documentation doesn't explicit state what happens, although the example does *not* have a "CATCH,/CANCEL" before the
END (I also recall reading a post on this newsgroup stating that it was not necessary to CANCEL and error handler for
normal termination).

Thanks,

paulv
[Message index]
 
Read Message
Previous Topic: Re: IDL 8 Display Updating Question
Next Topic: Re: Simple question regarding CATCH,/CANCEL

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

Current Time: Fri Oct 10 02:33:21 PDT 2025

Total time taken to generate the page: 0.72385 seconds