Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

Checking for errors without messages.

  • To: mathgroup at
  • Subject: [mg7777] Checking for errors without messages.
  • From: Gadi Oron <oron at>
  • Date: Tue, 8 Jul 1997 22:40:57 -0400
  • Organization: Acces regional Ile-de-France (Univ. Paris VI/VII) - France
  • Sender: owner-wri-mathgroup at

Hi there,

I need, once again, your help :

I have a function that does a calculation that might be infinity, and I
would like to catch that error in order to return something else to the
calling function, well that's easy using Check.

The problem is that I continue to get the messages on the screen and I
would like to eliminate them.

But using Off[message] before the Check also deactivates the Check! (Check
only treats messages that are displayed).

How can I deactivate the messages and still catch the errors, or must I
suffer 2 pages of errors any time I use this function??

Thank you for your attention.

/\/\/\/\/\/\/\/\/\/\/\/>> Gadi ORON <<\/\/\/\/\/\/\/\/\/\/\/\/\
| EMAIL :  oron at   ::::     oron at  |
| Homepage :         |
| fido : 2:325/302.8                                          |
| 		  Soyez braves - be brave.                    |

  • Prev by Date: Very slow file writing.
  • Next by Date: Re: Notation.m
  • Previous by thread: Very slow file writing.
  • Next by thread: AW: WMF export