PrintTemporary

PrintTemporary[expr]

在一个笔记本的临时单元内输出 expr,直到当前输入的计算完成后删除.

更多信息

范例

打开所有单元关闭所有单元

基本范例  (2)

在计算过程中输出一个临时单元:

在计算过程中,明确删除临时单元:

如果不删除,输出多个临时单元:

可能存在的问题  (1)

并行子内核中的 PrintTemporary 等同于普通的 Print

使用共享的变量与主内核交流状态并进行观察:

Wolfram Research (2007),PrintTemporary,Wolfram 语言函数,https://reference.wolfram.com/language/ref/PrintTemporary.html.

文本

Wolfram Research (2007),PrintTemporary,Wolfram 语言函数,https://reference.wolfram.com/language/ref/PrintTemporary.html.

CMS

Wolfram 语言. 2007. "PrintTemporary." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/PrintTemporary.html.

APA

Wolfram 语言. (2007). PrintTemporary. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/PrintTemporary.html 年

BibTeX

@misc{reference.wolfram_2024_printtemporary, author="Wolfram Research", title="{PrintTemporary}", year="2007", howpublished="\url{https://reference.wolfram.com/language/ref/PrintTemporary.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_printtemporary, organization={Wolfram Research}, title={PrintTemporary}, year={2007}, url={https://reference.wolfram.com/language/ref/PrintTemporary.html}, note=[Accessed: 22-November-2024 ]}