Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Programming

  • To: mathgroup at smc.vnet.net
  • Subject: [mg56551] Re: Programming
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Fri, 29 Apr 2005 03:19:48 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <d4q12e$o9p$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

that is a new and strange behaviour, because
Plot[a*Sin[x], {x, 0, Pi}]

will copy the messages in your notbeook

Plot::plnr: a\Sin[x] is not a machine-size real 
number at x = \
1.308996938995747`*^-7.

and what stand a the begin of the message ?? 
"Plot::plnr" does this eventual mean, that the 
function Plot[] had generated the message ??

When you write you own function like

myFunction::bad = "This is bad"

myFunction[x_] := If[x > 1, 
Message[myFunction::bad]; x, x]

the message is placed in your notbeook and it is 
up to you, to find out that "myFunction::bad" is a 
message from myFunction.

Regards

  Jens



Hermann Schmitt" <schmitther at t-online.de> schrieb 
im Newsbeitrag news:d4q12e$o9p$1 at smc.vnet.net...
> Hello,
> if a Mathemamtica program is executed, 
> Mathematica separates in the output
> the text of the program from the error messages.
> The conseqence is, that sometimes it is 
> difficult, to find the statement,
> which belongs to an error message.
> Is it possible to suppress this separation?
> Or is there any method, which helps to find the 
> statement which belongs to
> an error message?
> Hermann Schmitt
> 



  • Prev by Date: Re: can Mathematica be useful for this?
  • Next by Date: Re: Re: Re: odd mathematica blindspot
  • Previous by thread: Re: Programming
  • Next by thread: GUIKit problem