11.2.8 TITLE and SUBTITLE Directives

The TITLE directive specifies a string and places it in the title field of a listing header. Similarly, SUBTITLE places a specified string in the subtitle field of a listing header.

These directives take the following forms:

cDEC$ TITLE string
cDEC$ SUBTITLE string
c
Is the letter or character that introduces the directive tag (see Section 11.1).
string
Is a character constant containing up to 31 printable characters.

To enable TITLE and SUBTITLE directives, you must specify the compiler option LIST.

When TITLE or SUBTITLE appear on a page of a listing file, the specified string appears in the listing header of the following page.

If two or more of either directive appear on a page, the last directive is the one in effect for the following page.

If either directive does not specify a string, no change occurs in the listing file header.

For More Information:

For details on names of compiler options used in this manual, see Section E.4.


Previous Page Next Page Table of Contents