Help - Glossary - S - symbol


A symbol in Squeak is a string that serves as a constant name in Squeak for something that is assigned to it. It differs form a String in Squeak in that it refers to some object of which it is the name. To indicate a string is to be understood and parsed as a symbol it is prefixed with #

#ThisIsASymbol. "Try cmd-p"
#ThisIsAlsoASymbol class.
"Try cmd-p"

Glossary - S