TITLE

General Compiler Directive: Specifies a string for the title field of a listing header.

Syntax

cDEC$ TITLE string

c
Is one of the following: C (or c), !, or *. (See Syntax Rules for General Directives.)


string
Is a character constant containing up to 31 printable characters.

Rules and Behavior

To enable the TITLE directive, you must specify the compiler option that produces a source listing file.

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

If the directive appears more than once on a page, the last directive is the one in effect for the following page.

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

The following form is also allowed: !MS$TITLE:string

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: SUBTITLE, General Compiler Directives

Example

 !DEC$ TITLE:'Program MATHSTAT Version 3.0 9/02/96'
 INTEGER i, j, k
 REAL a, b, c
 CALL hilbert(i, j, k)
 CALL erf(a, b, c)
 END