MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Check[] *and* Off[]


Thanks for all those who responded to my previous question.  Now a new,
unrelated one.

I have a function which uses the FindRoot function.  Occasionally
FindRoot fails to converge, as there really is no solution.  To trap
this occurence, I have wrapped the call to FindRoot in the Check[]
function.  If an error in FindRoot occurs, I trap it, and substitute a
Null solution into the list I am generating.  Everything works
beautifully so far.  However, I don't want Mathematica to print error
messages all over my screen every time this occurs!!  I'm dealing with
the problem!!  However, the manual says that Check[] will not trap
errors that have been disabled with Off[].  So, it seems there is no way
to silently trap an error message.  Is this true?

Paul.



  • Prev by Date: Set in Scan
  • Next by Date: Re: Check[] *and* Off[]
  • Previous by thread: Re: Re: Re: Set in Scan
  • Next by thread: Re: Check[] *and* Off[]