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

Home » Public Forums » archive » Re: Error handing in embedded applications
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 handing in embedded applications [message #42950] Tue, 08 March 2005 10:47 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt writes:

> If your CATCH handler uses MESSAGE, perhaps that is confusing IDL?
> Could you avoid using a MESSAGE command? Perhaps you can reset the
> IDL !ERROR status code, or whatever it is these days, to zero?

I don't think I can avoid MESSAGE. It is the only way I know
to throw an error. I have tried setting the !Error_State fields
to "success" values, but to no avail. I think the problem is
that the error occurs during a widget event, and I think
the RSI routine that distributes events is catching the
error there somehow. I would LOVE to see some documentation. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: looking for source of a caught runtime error.
Next Topic: Re: Regridding routines

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

Current Time: Sat Oct 11 00:13:47 PDT 2025

Total time taken to generate the page: 1.81920 seconds