EchoLabel[label][expr]
prints expr prepending label and returns expr.
EchoLabel
EchoLabel[label][expr]
prints expr prepending label and returns expr.
Examples
open all close allBasic Examples (1)
Scope (1)
Applications (1)
Properties & Relations (5)
EchoLabel is an operator form of Echo:
Echo[expr, "label:"]EchoLabel["label:"][expr]Echo and EchoLabel give priority to the label:
Echo[expr, "label:"]EchoLabel["label:"][expr]EchoFunction gives priority to the function:
EchoFunction[f][expr]Echo[expr]EchoLabel[][expr]EchoFunction[][expr]EchoLabel prints an intermediate result with a label:
expr1;x = EchoLabel["factors:"]@FactorInteger[2 ^ 50 - 1];expr2To print a property of an intermediate result, use EchoFunction:
expr1;x = EchoFunction["factors:", Length]@FactorInteger[2 ^ 50 - 1];expr2EchoLabel is disabled inside QuietEcho:
QuietEcho[EchoLabel["label:"][expr]]Related Guides
History
Text
Wolfram Research (2020), EchoLabel, Wolfram Language function, https://reference.wolfram.com/language/ref/EchoLabel.html.
CMS
Wolfram Language. 2020. "EchoLabel." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/EchoLabel.html.
APA
Wolfram Language. (2020). EchoLabel. Wolfram Language & System Documentation Center. Retrieved from 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: 12-June-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: 12-June-2026]}