Re: how to clear error message [message #73273 is a reply to message #73272] |
Wed, 03 November 2010 18:39   |
Truong Le
Messages: 42 Registered: September 2010
|
Member |
|
|
On Nov 3, 9:22 pm, David Fanning <n...@dfanning.com> wrote:
> Truong Le writes:
>> I am sorry but are you suggesting that I modify the MRD_HREAD
>> procedure?
>
> It's generally not my style to state the obvious,
> but normally when a program issues an error message,
> you don't seek to turn the error message off, you
> try to fix the error that caused it.
>
> Is there something about this program that you would
> like to share with us that makes it out of the
> ordinary?
>
> I haven't used every single one of the NASA Astronomy
> Library routines, but I've used enough to know if
> an error is being issued, there is probably a pretty
> good reason for it.
>
> 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.")
David, I am not trying to suppress the error but instead I am
trying to catch that error so that I can exit my loop and read the
next FITS file.
|
|
|