MathGroup Archive 2010

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

Search the Archive

Re: Frontend suggestions

  • To: mathgroup at
  • Subject: [mg111800] Re: Frontend suggestions
  • From: "J. McKenzie Alexander" <jalex at>
  • Date: Fri, 13 Aug 2010 06:58:37 -0400 (EDT)

On 12 Aug 2010, at 10:27, S. B. Gray wrote:
> 5. An easy way to have Print work more like it does in C (a language
> that I hate). Specifically a way to print pieces of lines while Mathematica is
> calculating rather than Print working only in whole lines.

One solution to the problem of printing partial lines is to evaluate, below the cell performing the lengthy computation, the following:


and then update the definition of partialString in the course of the lengthy computation, as below:

 partialString == "";
 partialString == "First part...";
 partialString == partialString <> "second part...";
 partialString == partialString <> "final part: " <> ToString[i];
 Print[partialString], {i, 1, 5}

Hardly elegant, but it works.


Dr J. McKenzie Alexander
Department of Philosophy, Logic and Scientific Method
London School of Economics and Political Science
Houghton Street, London WC2A 2AE

Please access the attached hyperlink for an important electronic communications disclaimer:

  • Prev by Date: Re: Problem using LinkSnooper when Mathematica pathname contains a space
  • Next by Date: Re: Problem with renaming Mathematica path on Mac OS X
  • Previous by thread: Re: Frontend suggestions
  • Next by thread: Re: Frontend suggestions