Contents | Prev | Next

"4.6 Allow double-quoted literals"

When this extension is enabled (the default), the Irie Pascal compiler will allow you to use double-quotes to deliminate character and string literals.

For example when this extension is enabled you could use

   "Hello world"

instead of

   'Hello world'

Double-quoted literals can be especially useful if you want to create literals with single quotes in them, since you don't have to use two single quotes to represent one single quote.

For example you could use

   "Don't go away"

which is equivalent to

   'Don''t do away'

but much more readable.

Contents | Prev | Next