/sys$common/syshlp/helplib.hlb PASCAL, Miscellaneous, Listing Directives *Conan The Librarian (sorry for the slow response - running on an old VAX) |
The %TITLE and %SUBTITLE directives allow you to specify a compile-time string expression for the listing title and subtitle lines. Syntax: %TITLE 'character string' or %SUBTITLE 'character string' The compiler listing header includes the %TITLE and %SUBTITLE strings in the title and subtitle sections. If you do not specify these directives, Compaq Pascal fills the %TITLE field with blanks and the first %SUBTITLE field with 'source listing'. If a specified 'character string' is too long to fit in the predefined title and subtitle sections, the string will be truncated on the right without warning. If a %TITLE directive appears on the first line of a page, it sets the title area for the current page and any following pages until the compiler encounters another %TITLE directive. If the %TITLE directive does not appear on the first line of a page, then the title area is not set until the next page. The %SUBTITLE directive affects only the subtitle area in the source listing section. If a %SUBTITLE directive appears on the first or second line of a page, then the subtitle area is set for the current page. If the %SUBTITLE directive does not appear in the first two lines of a page, then the subtitle area is not set until the next page. If either of these directives is used and if a listing is being generated, Compaq Pascal generates a table of contents page by default. This page appears first in the listing, preceding the source listing section. To disable the table of contents option, you must use a compilation switch.
|