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.
Statements
                                             Up Contents Index Back
─────Statements─────────────────────────────────────────────────────────────
 
     A FORTRAN statement consists of an initial line, optionally
     followed by continuation lines. Statements are written in columns 7
     through 72.
 
     There are two basic types of statements in FORTRAN: executable and
     nonexecutable. An executable statement causes an action to be
     performed. Nonexecutable statements describe, classify, or specify
     the format of program elements, such as entry points, data, or
     program units.
 
     This table categorizes the FORTRAN statements. Select any item in
     the first column for more information.
 
     Categories of FORTRAN Statements
 
     Category                   Type           Description
 
     Assignment statements    Executable     Assign a value to a variable
                                               or an array element.
 
     BLOCK DATA,              Nonexecutable  Define the start of a program
     ENTRY                                   unit and specify its formal
     FUNCTION                                arguments.
     INTERFACE TO
     PROGRAM
     SUBROUTINE
 
     Control statements       Executable     Control order of execution
                                               of statements.
 
     DATA statement           Nonexecutable  Assigns initial values to
                                               variables.
 
     FORMAT statement         Nonexecutable  Provides data-editing
                                               information.
 
     I/O statements           Executable     Transfer data and manipulate
                                               files and records.
 
     Specification statements Nonexecutable  Define the attributes of
                                               variables, arrays, and
                                               subprograms.
 
     Statement-function       Nonexecutable  Define simple, locally used
     statements                              functions
                                    -♦-