SUBTITLE

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

Syntax

cDEC$ SUBTITLE 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 SUBTITLE directive, you must specify the compiler option that produces a source listing file.

When SUBTITLE 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$SUBTITLE:string

Compatibility

CONSOLE STANDARD GRAPHICS QUICKWIN GRAPHICS WINDOWS DLL LIB

See Also: TITLE, MESSAGE, General Compiler Directives

Example

 !DEC$ TITLE:'Program MATHSTAT'
 REAL epsilon, delta
 INTEGER i1, i2, i3
 CALL STAT(epsilon, delta)
 CALL MATH (i1, i2, i3)
 END
 SUBROUTINE STAT(a, b)
   !DEC$ SUBTITLE:'Subroutine STAT'
   REAL a, b
   CALL statpack(a, b)
   !DEC$ SUBTITLE:''
 END SUBROUTINE STAT

 SUBROUTINE MATH(a, b, c)
   !DEC$ SUBTITLE:'Subroutine MATH'
   INTEGER a, b, c
   a = b * c
   !DEC$ SUBTITLE:''
 END SUBROUTINE MATH