Imagine I want to track the progress of constructing a complex Table
or Do
object by temporarily printing the iteration number. For example, if I do
Table[PrintTemporary[i];, {i, 20}]
I get
which is almost what I want, but I would rather have each print vanish at each step and get replaced by the following one so that I don't produce this huge list. Any ideas?
Monitor[Table[Pause[0.1], {i, 0, 1, 1/100}], ProgressIndicator[i]]
orMonitor[Table[Pause[0.1], {i, 0, 100}], i]
$\endgroup$