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

Home » Public Forums » archive » Re: Breaking on Math Warnings?
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: Breaking on Math Warnings? [message #13879] Thu, 07 January 1999 00:00
Scott Norton is currently offline  Scott Norton
Messages: 6
Registered: October 1998
Junior Member
I just found the answer to my own question. Sorry for taking up bandwidth.
The key command to use is CHECK_MATH(). Although I now need to
see if it works for finding convergence errors as when using the Guass2DFit
routine
(convergence errors are not listed in the table of returned math errors
shown
in the HELP menu on CHECK_MATH() ).
-Scott


Scott Norton wrote:

> Can anyone tell me how to have a program "break" on math warnings in
> IDL?
> For instance, if Gauss2Dfit doesn't converge, how can I "respond" to
> that warning?
> Or,
> If I get a "% Program caused arithmetic error: Floating underflow", how
> do I "check"
> for this?
> The CATCH procedure explicitely says that it does not "catch" these
> types of errors...
> "Calling CATCH establishes an error handler for the current procedure
> that intercepts all errors that can be handled by IDL, excluding
> non-fatal warnings such as math errors."
>
> Thanks!
> -Scott
> Scott_Norton@surromed.com
[Message index]
 
Read Message
Previous Topic: N_TAGS( , /LENGTH) strange result!
Next Topic: Re: Alternate plot scales

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

Current Time: Sun Oct 12 11:17:27 PDT 2025

Total time taken to generate the page: 1.27903 seconds