This Natural profile parameter controls the translation of a quotation mark
("
) within a Natural text constant. It takes effect at compilation time
only.
Possible settings | ON |
Each quotation mark within a text constant is output as a single apostrophe. | |
---|---|---|---|
OFF |
Quotation marks within text constants are not translated, they are output as quotation marks. | ||
Default setting | ON |
||
Dynamic specification | yes | ||
Specification within session | yes | ||
Applicable statements | OPTIONS |
||
Applicable command | TQMARK |
Option of system command COMPOPT |
Note:
Do not confuse quotation mark ("
) with double apostrophes
(''
). Double apostrophes within a text constant are always output as a single
apostrophe ('
), regardless of the setting of the TQMARK
parameter.
WRITE 'THERE"S A QUOTATION MARK'
is displayed as: THERE'S A QUOTATION MARK
WRITE 'THERE"S A QUOTATION MARK'
is displayed as: THERE"S A QUOTATION MARK
WRITE 'DOUBLE APOSTROPHES'' OUTPUT IS A SINGLE APOSTROPHE'
is displayed as: DOUBLE APOSTROPHES' OUTPUT IS A SINGLE APOSTROPHE