Fortran 77 Language Reference Manual

Document Number: 007-0710-060

Front Matter

| List of Figures | List of Tables |


Table of Contents

Introduction
Intended Audience
Corequisite Publications
Organization of Information
Typographical Conventions

1. Fortran Elements and Concepts
Fortran Character Set
Data Types
Collating Sequence
Symbolic Names
Variables
Source Program Lines
Statements
Program Units
Program Organization

2. Constants and Data Structures
Constants
Character Substrings
Records
Arrays

3. Expressions
Arithmetic Expressions
Character Expressions
Relational Expressions
Logical Expressions
Evaluating Expressions in General

4. Specification Statements
AUTOMATIC, STATIC
BLOCK DATA
COMMON
DATA
Data Type Statements
DIMENSION
EQUIVALENCE
EXTERNAL
IMPLICIT
INTRINSIC
NAMELIST
PARAMETER
POINTER
PROGRAM
RECORD
SAVE
STRUCTURE / UNION
VOLATILE

5. Assignment and Data Statements
Arithmetic Assignment Statements
Logical Assignment Statements
Character Assignment
Aggregate Assignment
ASSIGN
Data Initialization
Implied-DO Lists

6. Control Statements
CALL
CONTINUE
DO
DO WHILE
ELSE
ELSE IF
END
END DO
END IF
GO TO (Unconditional)
GO TO (Computed)
GO TO (Symbolic Name)
IF (Arithmetic)
IF (Branch Logical)
IF (Test Conditional)
PAUSE
RETURN
STOP

7. Input/Output Processing
Records
I/O Statements
Files
Methods of File Access
Units

8. Input/Output Statements
Statement Summary
ACCEPT
BACKSPACE
CLOSE
DECODE
DEFINE FILE
DELETE
ENCODE
ENDFILE
FIND
INQUIRE
OPEN
PRINT or TYPE
READ (Direct Access)
READ (Indexed)
READ (Internal)
READ (Sequential)
REWIND
REWRITE
UNLOCK
WRITE (Direct Access)
WRITE (Indexed)
WRITE (Internal)
WRITE (Sequential)
Control Information List — cilist
Input/Output List — iolist
Data Transfer Rules

9. Format Specification
Format Stored as a Character Entity
FORMAT Statement
Field and Edit Descriptors
Field Descriptor Reference
Edit Descriptor Reference
Complex Data Editing
Interaction Between I/O List and Format
List-Directed Formatting

10. Statement Functions and Subprograms
Overview
Statement Functions
Parameter Passing
Function and Subroutine Subprograms
FUNCTION
SUBROUTINE
ENTRY
INCLUDE

11. Compiler Options
OPTIONS Statement
In-Line Options
$INCLUDE Statement

A. Intrinsic Functions
Generic and Specific Names
Operational Conventions and Restrictions
List of Functions

Index