Fortran/Catalogs
From Knowino
The initial release of Fortran for the IBM 704 contained 32 statements, including:
-
DIMENSIONandEQUIVALENCEstatements - Assignment statements
- Three-way arithmetic
IFstatement. -
IFstatements for checking exceptions (ACCUMULATOR OVERFLOW,QUOTIENT OVERFLOW, andDIVIDE CHECK); andIFstatements for manipulating sense switches and sense lights -
GOTO, computedGOTO,ASSIGN, and assignedGOTO -
DOloops - Formatted I/O:
FORMAT,READ,READ INPUT TAPE,WRITE,WRITE OUTPUT TAPE,PRINT, andPUNCH - Unformatted I/O:
READ TAPE,READ DRUM,WRITE TAPE, andWRITE DRUM - Other I/O:
END FILE,REWIND, andBACKSPACE -
PAUSE,STOP, andCONTINUE -
FREQUENCYstatement (for providing optimization hints to the compiler)
FORTRAN 66 includes:
- Main program,
SUBROUTINE,FUNCTION, andBLOCK DATAprogram units -
INTEGER,REAL,DOUBLE PRECISION,COMPLEX, andLOGICALdata types -
COMMON,DIMENSION, andEQUIVALENCEstatements -
DATAstatement for specifying initial values - Intrinsic and
EXTERNAL(e.g., library) functions - Assignment statement
-
GOTO, assignedGOTO, and computedGOTOstatements - Logical
IFand arithmetic (three-way)IFstatements -
DOloops -
READ,WRITE,BACKSPACE,REWIND, andENDFILEstatements for sequential I/O -
FORMATstatement -
CALL,RETURN,PAUSE, andSTOPstatements - Hollerith constants in
DATAandFORMATstatements, and as actual arguments to procedures - Identifiers of up to six characters in length
- Comment lines
FORTRAN 77 includes:
- Block
IFandEND IFstatements, with optionalELSEandELSE IFclauses. - DO loop extensions, including parameter expressions, negative increments, and zero trip counts
-
OPEN,CLOSE, andINQUIREstatements for improved I/O capability - Direct-access file I/O
-
IMPLICITstatement -
CHARACTERdata type, with vastly expanded facilities for processing of character-based data -
PARAMETERstatement for specifying constants -
SAVEstatement for persistent local variables - Generic names for intrinsic functions
- A set of intrinsics (
LGE, LGT, LLE, LLT) for lexical comparison of strings, based upon the ASCII collating sequence. -
DO WHILEandEND DOstatements -
INCLUDEstatement -
IMPLICIT NONEvariant of theIMPLICITstatement - Bit manipulation intrinsic functions, based on similar functions included in Industrial Real-Time Fortran (ANSI/ISA S61.1 (1976))
- This page originates from Wikipedia.

