MathGroup Archive 2005

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

Search the Archive

Re: Programming

  • To: mathgroup at
  • Subject: [mg56586] Re: Programming
  • From: carlos at
  • Date: Fri, 29 Apr 2005 03:21:35 -0400 (EDT)
  • References: <d4q12e$o9p$>
  • Sender: owner-wri-mathgroup at

Hermann Schmitt wrote:
> Hello,
> if a Mathemamtica program is executed, Mathematica separates in the
> the text of the program from the error messages.
> The conseqence is, that sometimes it is difficult, to find the
> 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

That is actually the biggest complaint I get, year after year, from
students once they learn to program Modules to build nontrivial
programs.  Their question is typically: where is the line number?
I tell them there is no number. In[] and Out[] are useless in a
modularized program since they change with each invokation.  The
smarter ones ask: where is the debugger?  I tell them there is no easy
to use debugger.

A front end pointer (or color marker) to where the error occurs in the
source should not be too difficult - and would be greatly appreciated
by beginning (and expert) users.

  • Prev by Date: Re: arrange lists side by side
  • Next by Date: Re: arrange lists side by side
  • Previous by thread: Re: Programming
  • Next by thread: Re: Programming