A string is a sequence of characters (whose values range from 0x01 to 0xff),
stored in consecutive bytes of memory, terminated by the null character \0.
Unlike symbols, strings are not unique within the system. Strings are denoted by
enclosing them in double quotation marks (for example: "A
string."). A string is created by any of the string functions
(particularly string), or by reading a string constant in
the form "A string.".
The following types of operators can be used with strings:
comparison (!=, ==)
Example:
Gamma>"cat" != "dog";tGamma>"cat" == "dog";nil
logical (!, &&, ||). Strings have the logical value of true in the Gamma language.
Example:
Gamma>"cat" && "dog" && nil;nilGamma>"cat" || "dog" || nil;"cat"
However, strings are normally manipulated in the Gamma language using the string functions (see Strings and Buffers in the Reference Manual.)