Version 6.3.8 for OpenVMS
 —  Parameter Reference  —

TQMARK - Translate Quotation Marks

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 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.

Example 1 (TQMARK=ON):

WRITE 'THERE"S A QUOTATION MARK'

is displayed as: THERE'S A QUOTATION MARK

Example 2 (TQMARK=OFF):

WRITE 'THERE"S A QUOTATION MARK'

is displayed as: THERE"S A QUOTATION MARK

Example 3 (TQMARK=ON or OFF):

WRITE 'DOUBLE APOSTROPHES'' OUTPUT IS A SINGLE APOSTROPHE'

is displayed as: DOUBLE APOSTROPHES' OUTPUT IS A SINGLE APOSTROPHE

Top of page