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 2005

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

Search the Archive

Re: Programming

  • To: mathgroup at
  • Subject: [mg56551] Re: Programming
  • From: "Jens-Peer Kuska" <kuska at>
  • Date: Fri, 29 Apr 2005 03:19:48 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <d4q12e$o9p$>
  • Sender: owner-wri-mathgroup at


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 = \

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.



Hermann Schmitt" <schmitther at> schrieb 
im Newsbeitrag news:d4q12e$o9p$1 at
> 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