MathGroup Archive 1999

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

Search the Archive

StylePrint problem

  • To: mathgroup at
  • Subject: [mg20402] StylePrint problem
  • From: "Dana DeLouis" <dana2 at>
  • Date: Tue, 26 Oct 1999 00:32:54 -0400
  • Sender: owner-wri-mathgroup at

Hello.  I am trying to learn Programming in Mathematica 4.  I am also studying math
If I know that I am going to do  30+ problems at the end of a chapter, I
want to avoid typing in the text..Problem #1, Problem #2, etc

I found this example in the "Tour of Mathematica" section of "The
Mathematica Book."

Do[StylePrint["Problem # " <> ToString[i], "Section"], {i, 10}]

Which works...kind of.  After the above prints out correctly, I move the
cursor between say Problem #4, and Problem #5 to begin solving Problem #4.
As soon as I hit enter, all the output from Problem #5, down to  the last
one is deleted!

Does anyone do anything similar?  Is there another command that I should be
using instead.  I  have looked for a long time.  Thank you for any insight /
solution.  Dana

  • Prev by Date: entering stuff using escape
  • Next by Date: Mathematica crash on HP
  • Previous by thread: Re: entering stuff using escape
  • Next by thread: Re: StylePrint problem