Re: error handling in v. 3.51 [message #11729] |
Sun, 17 May 1998 00:00 |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
����� (anton@cgrsmx.iki.rssi.ru) writes:
> Is it possible to intercept errors generated in built-in procedures like
> NR_DFPMIN (e.g. "roundoff problem in lnsrch") which cause a program to
> halt? I want to write a handler which activates when the routine stops with
> the error, but the main program is just halted.
>
> I still use version 3.51
I barely remember IDL 3.51 to tell you the truth, but I
believe that NR_DFPMIN was not a built-in procedure, but
an IDL library routine. If so, you could insert an ON_ERROR,1
command in the code and get it to return to the main IDL
level when an error occurs.
Cheers,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|