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

Home » Public Forums » archive » Re: ERROR_MESSAGE
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: ERROR_MESSAGE [message #77794] Fri, 23 September 2011 00:57 Go to previous message
Allard de Wit is currently offline  Allard de Wit
Messages: 7
Registered: December 2002
Junior Member
Dear Wayne,

The solution is to put a RETALL or RETURN inside the error handler:

Catch, error_status
IF error_status NE 0 THEN BEGIN
Catch, /CANCEL
void = Error_Message()
RETURN
ENDIF

This will get you out of the offending routine with all the pop-ups
and still get you the traceback information that you want. Depending
on what the program does with the error, you may even want to replace
the RETURN statement with a "Message, /REISSUE_LAST" to propagate the
error up to an error handler at a higher level.

Allard
[Message index]
 
Read Message
Read Message
Previous Topic: ERROR_MESSAGE
Next Topic: Re: Issues with cgColorbar labels

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

Current Time: Wed Oct 08 19:27:03 PDT 2025

Total time taken to generate the page: 0.00517 seconds