Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Print in a loop

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61617] Print in a loop
  • From: kalymereau at yahoo.fr
  • Date: Mon, 24 Oct 2005 01:43:57 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi MathGroup

Consider

l={a,b,c,...}

Scan[ Print[#]&, l ]

gives
a
b
c
...

I would like that at each step, the new output erases the previous one,
i.e. that a be replaced by b and b by c etc (that is, a kind of
"clock")

How can I do that ?

Thanks


  • Prev by Date: Re: significance arithmetic and numeric equation solving
  • Next by Date: Running the kernel command line with additional input files
  • Previous by thread: Re: Memory leak, once again.
  • Next by thread: Re: Print in a loop