PrintTemporary
PrintTemporary[expr]
prints expr as a temporary cell in a notebook, removing it when the evaluation of the current input line is complete.
Details
- PrintTemporary returns a CellObject that can be supplied to NotebookDelete to immediately delete the temporary cell.
- PrintTemporary[expr1,expr2,…] prints expri concatenated together, effectively using Row.
- PrintTemporary creates a cell with style "PrintTemporary".
Examples
open allclose allBasic Examples (2)
Possible Issues (1)
PrintTemporary on parallel subkernels is equivalent to ordinary Print:
Use a shared variable to communicate the state to the master kernel and observe it there:
Text
Wolfram Research (2007), PrintTemporary, Wolfram Language function, https://reference.wolfram.com/language/ref/PrintTemporary.html.
CMS
Wolfram Language. 2007. "PrintTemporary." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/PrintTemporary.html.
APA
Wolfram Language. (2007). PrintTemporary. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/PrintTemporary.html