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
- Follow-Ups:
- Re: Print in a loop
- From: ggroup@sarj.ca
- Re: Print in a loop