SLAU131Y October 2004 – June 2021
A character string is a sequence of characters enclosed in double quotes. Double quotes that are part of character strings are represented by two consecutive double quotes. The maximum length of a string varies and is defined for each directive that requires a character string. Characters are represented internally as 8-bit ASCII characters.
These are examples of valid character strings:
"sample program" | defines the 14-character string sample program. |
"PLAN ""C""" | defines the 8-character string PLAN "C". |
Character strings are used for the following: