forlang.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
$TITLE
                                             Up Contents Index Back
─────$TITLE ────────────────────────────────────────────────────────────────
 
     Action
 
     $TITLE prints a string on subsequent pages of the source listing.
 
     Syntax  $TITLE:title
 
     Parameter          Description
 
     title              Any valid character constant
 
     Remarks
 
     The title appears in the upper-left corner of the printout. A
     program can have multiple $TITLE metacommands.
 
     The $TITLE metacommand is equivalent to the /St compiler option.
 
     The following program produces a listing in which each page is
     titled GAUSS (the name of the program). Each subprogram begins on
     a new page of the listing, and the name of the subprogram appears
     as a subtitle.
 
     Example
 
     $TITLE:'GAUSS'
 
     C     main program here...
           END
 
     $SUBTITLE:'Row Division'
     $PAGE
           SUBROUTINE divide(row, matrix, pivot)
     C     subroutine body...
           RETURN
           END
 
     $SUBTITLE:'Back Substitution'
     $PAGE
           SUBROUTINE backsub(matrix)
     C     subroutine body...
           RETURN
           END
                                    -♦-