I am running something like
For[count=1,count<=5000, count++,
Print["count = ",count];
pass
]
where "pass" takes a few seconds to run. So the whole thing takes some hours. Printing "count" gives me a warm feeling that it is moving along. But it fills the screen in an unpleasant way. What I would like to happen is that
count =1
appears on the screen, while pass runs for the first time, and then is REPLACED ON THE SCREEN (OVERWRITTEN) by
count=2
while pass runs for the second time, and so on. So I get the warm feeling of watching count increase, without filling the screen.
How can I make this happen?
Thanks