- 2.2.5.2. -
Table of Contents
2. TMT Pascal Language Description
2.2. Pascal Language Structure
2.2.5. Constants
2.2.5.2. String Constants
2.2.5.2. String Constants
String constants are strings of ASCII characters preceded by and followed
by a single quote ('). Use two single quotes ('') to represent a single
quote within a string. A string may also be constructed with the number
symbol # or the caret symbol ^. For more information see the definition
of Character types. The maximum size of a string constant is 255 characters.
The following are valid examples of string constants:
'This is a string'
^G'A Bell will sound'
#13#11'New Line'
'Where''s the program'
- 2.2.5.2. -