Abstract: I have noticed something really tricky with Mathematica and the documentation for symbols is short on clearing the confusion. It likely reveals what symbols are but it's not very prominent. I know unique symbols are created inside Modules but are they also generated every time we define regular functions and variables?
About The Code: I did a simple test with abc = 123
. The output for ?abc
gives a grayed out Symbol
and SymbolName
produces an error message. Does this mean it is not a symbol?
abc = 123
?abc
SymbolName[abc]
Four Questions:
- Are system functions symbols?
- Are user defined functions symbols?
- Are user defined variables symbols?
- What are symbols and are they automatically generated?