MathGroup Archive 2004

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

Search the Archive

Re: Overflow --> Abort evaluation

  • To: mathgroup at smc.vnet.net
  • Subject: [mg47276] Re: Overflow --> Abort evaluation
  • From: "Peter Pein" <no at spam.no>
  • Date: Fri, 2 Apr 2004 03:30:20 -0500 (EST)
  • References: <c4ge8c$ce$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"Holger" <bre at iwm.fhg.de> schrieb im Newsbeitrag
news:c4ge8c$ce$1 at smc.vnet.net...
> Dear All,
>
> here is one tricky thing I wasn't able to figure out yet: Is it
> possible to let a certain input line evaluate and in case this input
> line does cause a message (for example: General::ovfl) jump to the
> next line and not be bothered by the Overflow input line? The
> background is that I do some awkward computations that may cause a
> message like overflow or so and this then wastes a lo of time without
> yielding anything reasonable. Thanks a lot,
>
> Holger
>
Something like

If[ (result=Check[expr,"oops"])=="oops",
  Return[$Fail],
  result ]
]

?

-- 
Peter Pein, Berlin
StringReplace["petsie at arcand.de",
 Rule@@(ToLowerCase@ToString@Head@#&)/@{William&&S,2b||!2b}]



  • Prev by Date: Re: change PlotStyle in Graphics object after the fact?
  • Next by Date: Re: change PlotStyle in Graphics object after the fact?
  • Previous by thread: RE: RE: change PlotStyle in Graphics object after the fact?
  • Next by thread: Re: Overflow --> Abort evaluation