A string constant is an arbitrary sequence of characters. STRING constants are preceded and followed by single quotation marks. WSTRING constants are preceded and followed by double quotation marks. The characters are coded according to the character set specified in ISO/IEC 8859-1. You may also enter blank spaces and special characters (special characters for different languages, like accents or umlauts).
In strings, the combination of the dollar sign ($) followed by 2 hexadecimal numbers is interpreted as a hexadecimal code according to the coding in ISO/IEC 8859-1. The code corresponds to ASCII code. In addition, note the special cases presented in the table.
Combinations of characters starting with a dollar sign which are interpreted as hexadecimal code:
String with $ code |
Interpretation |
---|---|
|
8-bit code: Two-digit hexadecimal number that is interpreted according to ISO/IEC 8859-1. |
|
A |
|
© |
|
@ |
|
Control character: Line break (corresponds to |
|
Control character: New line (corresponds to |
Combinations of characters starting with a dollar sign which have a specific meaning:
String with $ code |
Interpretation |
---|---|
|
Control character: Line feed (corresponds to |
|
Control character: New line (corresponds to |
|
Control character: Form feed |
|
Control character: Line break (corresponds to |
|
Control character: Tab |
|
Dollar sign $ |
|
Single straight quotation mark: ' |