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

Home » Public Forums » archive » Re: error handling in v. 3.51
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: error handling in v. 3.51 [message #11729] Sun, 17 May 1998 00:00
davidf is currently offline  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/
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: spawning to my dir, not IDL dir !DIR
Next Topic: PVWAVE->IDL Mapping Changes

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

Current Time: Fri Oct 10 03:12:01 PDT 2025

Total time taken to generate the page: 0.27490 seconds