- 2.2.5.2 -
TMT Pascal Language Description
Pascal Language Structure
ConstantsString 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'
|
|
|
Integer and Real Number Constants |
Table of Content |
Constant Declarations |
- 2.2.5.2 -