This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

PrintTemporary

PrintTemporary[expr]
prints expr as a temporary cell in a notebook, removing it when the evaluation of the current input line is complete.
Print a temporary cell during an evaluation:
Explicitly delete temporary cells during the course of evaluation:
If not deleted, multiple temporary cells are printed:
Print a temporary cell during an evaluation:
In[1]:=
Click for copyable input
Out[1]=
 
Explicitly delete temporary cells during the course of evaluation:
If not deleted, multiple temporary cells are printed:
New in 6