Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- F77(Microsoft (C) V4.0) - fortran metacommands http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                        FORTRAN  Metacommands
                        _____________________

Any line with a $ character in Column 1 is interpreted as  metacommand.
A metacommand  and its argument  must  fit  on  a  single  source line;
continuation lines are not permitted.
______________________________________________________________________________

Metacommand             Instructions to Compiler              Default
______________________________________________________________________________

$DEBUG[:string]         Turns on  run-time checking  for     $NODEBUG
                        integer  arithmetic  operations,
                        assigned  GOTO values, subscript
                        bounds,  and substrings.  $DEBUG
                        does  not  trigger   or suppress
                        floating-point exceptions.
                        $DEBUG  can  also  be  used  for
                        conditional compilation.
                        $NODEBUG turns off checking.

$DECLARE                Generates  warning messages  for     $NODECLARE
                        undeclared variables. $NODECLARE
                        turns off these messages.
$DO66                   Uses FORTRAN-66 semantics for DO     $DO66 not set
                        statements.

$FLOATCALLS             Generates calls  to  subroutines     $NOFLOATCALLS
                        in the emulator library.

$FREEFORM               Uses free-form format for source     $NOFREEFORM
                        code.
                        $NOFREEFORM uses fixed format.

$INCLUDE:'filename'     Proceeds as if  "filename"  were     None
                        inserted  at  this point  in the
                        current source file.

$LARGE[:name][,name]]   Addresses a  named array outside     $NOTLARGE
                        of the DGROUP. $NOTLARGE disable
                        $LARGE  for the named array.  If
                        name is omitted, the metacommand
                        affects all arrays.

$LINESIZE:n             Make subsequent pages of listing     $LINESIZE:80
                        "n"  columns wide. 39 < n < 133.

$LIST                   Begins  generation   of  listing     $LIST
                        information that is sent  to the
                        listing file. $NOLIST suppresses
                        generation of listing.

$MESSAGE:string         Sends a character string  to the     None
                        standard output device.

$PAGE                   Starts new page of listing.          None

$PAGESIZE:n             Make subsequent pages of listing     $PAGESIZE:63
                        "n" lines long. n > 14.

$STORAGE:n              Allocates "n" bytes of memory to     $STORAGE:4
                        all LOGICAL or INTEGER variables
                        ( n = 2 or 4 ).

$STRICT                 Disables   Microsoft  FORTRAN-77     $NOTSTRICT
                        features  not  in  full-language
                        (1977) standard.
                        $NOTSTRICT enables them.

$SUBTITLE:subtitle      Uses  "subtitle"  for subsequent     None
                        pages of listing.

$TITLE:title            Uses given title  for subsequent     None
                        pages of listing.

$TRUNCATE               Truncates   variables   to   six     $TRUNCATE
                        characters.  $NOTRUNCATE   turns
                        off truncation.
_____________________________________________________________________________

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson