Wolfram Language & System 10.3 (2015)|Legacy Documentation

This is documentation for an earlier version of the Wolfram Language.View current documentation (Version 11.2)

EchoFunction

EchoFunction[f][expr]
prints and returns expr.

EchoFunction[label,f][expr]
prints , prepending label, and returns expr.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (2)Basic Examples  (2)

Print a property of an intermediate result:

In[1]:=
Click for copyable input
6
Out[2]=

Report a property using a label:

In[1]:=
Click for copyable input
"length: " 6
Out[2]=
Introduced in 2015
(10.3)