EchoLabel
EchoLabel[label][expr]
显示 expr 的前置 label 并返回 expr.
范例
打开所有单元 关闭所有单元应用 (1)
属性和关系 (5)
Echo[expr, "label:"]EchoLabel["label:"][expr]Echo[expr, "label:"]EchoLabel["label:"][expr]EchoFunction 着眼于函数:
EchoFunction[f][expr]Echo[expr]EchoLabel[][expr]EchoFunction[][expr]EchoLabel 显示带有标签的中间结果:
expr1;x = EchoLabel["factors:"]@FactorInteger[2 ^ 50 - 1];expr2如果想要显示中间结果的属性,请使用 EchoFunction:
expr1;x = EchoFunction["factors:", Length]@FactorInteger[2 ^ 50 - 1];expr2QuietEcho[EchoLabel["label:"][expr]]文本
Wolfram Research (2020),EchoLabel,Wolfram 语言函数,https://reference.wolfram.com/language/ref/EchoLabel.html.
CMS
Wolfram 语言. 2020. "EchoLabel." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/ref/EchoLabel.html.
APA
Wolfram 语言. (2020). EchoLabel. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/ref/EchoLabel.html 年
BibTeX
@misc{reference.wolfram_2026_echolabel, author="Wolfram Research", title="{EchoLabel}", year="2020", howpublished="\url{https://reference.wolfram.com/language/ref/EchoLabel.html}", note=[Accessed: 16-September-2026]}
BibLaTeX
@online{reference.wolfram_2026_echolabel, organization={Wolfram Research}, title={EchoLabel}, year={2020}, url={https://reference.wolfram.com/language/ref/EchoLabel.html}, note=[Accessed: 16-September-2026]}