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

Home » Public Forums » archive » Re: CATCH error problem
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 error problem [message #66000 is a reply to message #65999] Wed, 08 April 2009 08:33 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
lbusett@yahoo.it writes:

> The first time that an error in data transfer occurs, the "catch"
> procedure kicks in correctly, the counter is incremented and another
> attempt is made. However, if another data transfer error occurs the
> CATCH procedure does not kick in any more, and the program exits with
> an error.
>
> Does anyone know why is it happening ? Is there a "smarter" way to do
> the job ?

You are cancelling the CATCH in the first line of
the CATCH error handler. If you want CATCH to
remain in effect, don't do this. :-)

Cheers,

David

P.S. Just be sure your error handling code is correct
*before* you take that CANCEL out! :-)

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: ENVI_INIT_TILE tiling problem
Next Topic: ENVI_INIT_TILE tiling problem

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

Current Time: Mon Dec 01 16:26:41 PST 2025

Total time taken to generate the page: 2.79828 seconds