Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Set a value to a symbol and print them
ResourceFunction["EchoSet"][sym,value] sets sym to value, while simultaneously printing "sym = value". |
Make an assignment:
In[1]:= | ![]() |
Out[1]= | ![]() |
The value is stored:
In[2]:= | ![]() |
Out[2]= | ![]() |
New assignments with identical sym overwrite the old one:
In[3]:= | ![]() |
Out[3]= | ![]() |
Make indexed assignments:
In[4]:= | ![]() |
Out[4]= | ![]() |
In EchoSet[sym,value], value is evaluated:
In[5]:= | ![]() |
Out[5]= | ![]() |
EchoSet does not thread over lists:
In[6]:= | ![]() |
Out[6]= | ![]() |
Wolfram Language 11.3 (March 2018) or above
This work is licensed under a Creative Commons Attribution 4.0 International License