MathGroup Archive 2004

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

Search the Archive

Re: Finding errors in my code?

  • To: mathgroup at
  • Subject: [mg48102] Re: Finding errors in my code?
  • From: "Roger L. Bagula" <rlbtftn at>
  • Date: Thu, 13 May 2004 00:08:30 -0400 (EDT)
  • References: <> <c7nn0q$dk3$>
  • Sender: owner-wri-mathgroup at

I once got three pages of errors
  and was going to break the run
  when I got the printout of the result
  which was perfect.
Some Mathematica error can be ignored...
I wish I had known that fact when I started programming.

Hermann Schmitt wrote:
> Hello,
> I aggree with Mr. Greenberg, Mathematica writes the error messages to the
> end of the program code and gives no reference to the location of the error
> in the program.
> That may make the task of the programmers much more difficult than
> necessary.
> Another solution could be, that Mathematica writes the error message
> directly behind the command, that causes the error. I think, this could be
> accomplished very easily.
> Hermann Schmitt
> ----- Original Message -----
> From: "Jonathan Greenberg" <greenberg at>
To: mathgroup at
> Subject: [mg48102]  Finding errors in my code?
>>I often get errors which, while I might know what they mean (e.g.:
>>CompiledFunction::cflist: Non-tensor object generated; proceeding with
>>uncompiled evaluation. ), I have no idea what call resulted in that
>>particular error -- is there a way to get Mathematica 5 more descriptive
>>error outputs (e.g. Having it recite back which line of code, or which
>>command caused the error in question)?
>>Jonathan Greenberg
>>Graduate Group in Ecology, U.C. Davis
>>AIM: jgrn307 or jgrn3007
>>MSN: jgrn307 at or jgrn3007 at

  • Prev by Date: Re: kuen surface
  • Next by Date: forward link : Re: Mandelbrot Set & Mathematica
  • Previous by thread: Re: Finding errors in my code?
  • Next by thread: Re: Finding errors in my code?