MathGroup Archive 2009

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

Search the Archive

Re: Print in a loop

  • To: mathgroup at smc.vnet.net
  • Subject: [mg103206] Re: [mg103151] Print in a loop
  • From: Bob Hanlon <hanlonr at cox.net>
  • Date: Thu, 10 Sep 2009 07:23:06 -0400 (EDT)
  • Reply-to: hanlonr at cox.net

Works fine here

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

1

2

3


Bob Hanlon

---- Luiz Melo <luiz.melo at polymtl.ca> wrote: 

=============
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: Re: Print in a loop
  • Previous by thread: Re: Print in a loop
  • Next by thread: Re: Print in a loop