Chapter 8 Writing Source Statements
134 Character Constants
String constants
String constants are strings of one or more characters stored as ASCII code. When a string constant is
one character it will be the same as a character constant.
Coding rules:
String constants are specified by enclosing the string in double quotation marks ( " ).
"ABCDEFG" Specifies the string ABCDEFG as ASCII code.
"+-[&%$#@!,.;:'" Specifies the string +-[&%$#@!,.;:' as ASCII code.
NOTE: To specify a double quotation mark or a backslash in a character constant, a
backslash (\) precedes the character
NOTE: Note that string constants are specified the same regardless of coding format.
The coding format has no effect even when a single-character string constant is
specified.