Symbol Character Operators — (\, $)
\symbol_character
$symbol_character_string
symbol_characterA character that is normally not valid within the string of a symbol name.
symbol_character_stringA symbol name that contains one or more characters that are normally not valid within the string of a symbol name.
A valid symbol name.
These operators allow you to put non-valid characters into a symbol name. They must be used every time the symbol is written, not just the first time.
\ makes the immediately following character valid.
$ makes the whole string valid, regardless of which individual characters are not normally valid.
Gamma>my\:example1 = 5;5Gamma>x = my\:example1 + 7;10Gamma>$my:example2 = 9; 9