MathGroup Archive 2009

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

Search the Archive

Print in a loop

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103151] Print in a loop
  • From: Luiz Melo <luiz.melo at polymtl.ca>
  • Date: Wed, 9 Sep 2009 04:44:42 -0400 (EDT)

The loop

Do[Print[i],{i,3}]

results in:

1
then
1
2
then
1
2
3

How can we obtain:
1
then
2
then
3



thanks
Luiz


--



  • Prev by Date: Re: Bug with Integrate in v7?
  • Next by Date: how to get the longest ordered sub sequence of a list in
  • Previous by thread: Re: Trouble controlling Rasterize -- it introduces unwanted borders
  • Next by thread: Re: Print in a loop