program helloWorld(input, output, stdErr); resourcestring greeting = 'Hello world!'; begin writeLn(greeting); end.
In order to insert a
' into a character or string literal, two
' are written back-to-back:
program singleQuoteDemo(input, output, stdErr); begin writeLn('writeLn(''…'');'); end.
One may inject numeric character entities into a string, by placing them directly adjacent to one another:
program bellDemo(input, output, stdErr); begin writeLn('🕭'#7); end.
" are used as string delimiters, too.
Such strings can contain backslash-escaped control characters.
U+2019 “right single quotation mark”) is the typographically correct character marking the possessive case in English (e. g. “the dog’s ball”).