
HANDBOOK
/ LIBRARY REFERENCE MANUAL
/
Module strings
The module strings provides a string memory that can handle
strings of arbitrary length. It may be used for the lexical processing
of strings.
The lexer may extend the current string (which is initially empty)
character by character using procedure AppendToString.
The string is terminated by procedure GetStringRef which
yields a reference to the string.
AppendToString (ch)
char ch;
The procedure AppendToString appends the character given as parameter
to the current string.
GetStringRef(ref_string)
char **ref_string;
The procedure GetStringRef terminates the current string
with a null character and assigns a reference to the string to the
variable referred by the parameter.
The current string is set to empty.
