HP 3000 Manuals

DEBUG Directive [ HP FORTRAN 77/iX Reference ] MPE/iX 5.0 Documentation


HP FORTRAN 77/iX Reference

DEBUG Directive 

The DEBUG directive enables the processing of debug lines (those with a D
or d in column 1) as statement lines instead of comment lines.

Syntax 

$DEBUG [ON ]
       [OFF]

Default               Off; lines containing a D in column 1 are treated
                      as comment lines by the compiler.

Location              The DEBUG directive can appear anywhere in a
                      program unit.

Toggling/ Duration    May be toggled.  DEBUG ON remains in effect until
                      DEBUG OFF or the end of the program is encountered.

Examples 

        .
        .
        .
     D      PRINT *, 'This line won''t print.'
     $DEBUG
     D      PRINT *, 'This line WILL print.'
     $DEBUG OFF
     D      PRINT *, 'Just another comment line.'
        .
        .
        .



MPE/iX 5.0 Documentation