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

Home » Public Forums » archive » error handling
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 handling [message #63453 is a reply to message #1347] Mon, 10 November 2008 07:11 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
bulrushmower@gmail.com writes:

> The problem is even I use these statements, program still halted when
> enounter a bad data.
> Should I place the Catch, /cancel inside the loop.
> Another issue, should I state the Catch, the error right after the
> beginning the loop, or after the image processing, end of the loop?

Well, I have *NO* idea what you are doing in the processing
step, so I have no way of helping you. I can only presume
that the error handling in your processing routines are
such that the error returns to the CATCH. This can easily
not be the case. (For example, your processing routines
might not have any error handling in them at all!) Plus, the
errors can be I/O errors, which are typically handled in a
different way (with ON_IOERROR).

Lots of things can be going on here that I am depending
on you to sort out. I was only answering the question
in a general way. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Plot: idl_guide4 UK_NCAS-Meteo-Library
Next Topic: Re: Empty arrays?

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

Current Time: Sat Oct 11 09:14:52 PDT 2025

Total time taken to generate the page: 1.12267 seconds