Symbol Character Operators

Symbol Character Operators — (\, $)

Synopsis

\symbol_character
$symbol_character_string

		

Arguments

symbol_character

A character that is normally not valid within the string of a symbol name.

symbol_character_string

A symbol name that contains one or more characters that are normally not valid within the string of a symbol name.

Returns

A valid symbol name.

Description

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.

Example

Gamma>  my\:example1 = 5;
5
Gamma>  x = my\:example1 + 7;
10
Gamma>  $my:example2 = 9;
9