### 8.4.5.2 Character Constants

You can use a character constant instead of an H edit descriptor. Both types of format specifier function identically.

In a character constant, the apostrophe character is written as two apostrophes ('').

The following example shows how to write the apostrophe character in a character constant:

    50   FORMAT ('TODAY''S DATE IS: ',I2,'/',I2,'/',I2)

When you use a pair of apostrophes in this way, they count as a single character.

For More Information:

For details on the H edit descriptor, see Section 8.4.5.1.

Previous Page Next Page Table of Contents