12.6 String literals

Definition

string_literal ::=
    " { graphic_character } "



Comments

A character string must not extend to the following lines as it is a lexical element.
Character strings which do not fit into one line can be divided into two or more
character strings and be chained or linked to each other. (see the example).
'"' within a character string has to be entered as '""'.







Examples

an error report
"setup time too small"

an empty character string
""

three character strings of the length 1
" " "a" """"

"Characters such as $, % and } may be contained in character string"

"first part of a character string," &
"which only ends on the next line"