Fortran/Catalogs
From Knowino
The initial release of Fortran for the IBM 704 contained 32 statements, including:
-
DIMENSION
andEQUIVALENCE
statements - Assignment statements
- Three-way arithmetic
IF
statement. -
IF
statements for checking exceptions (ACCUMULATOR OVERFLOW
,QUOTIENT OVERFLOW
, andDIVIDE CHECK
); andIF
statements for manipulating sense switches and sense lights -
GOTO
, computedGOTO
,ASSIGN
, and assignedGOTO
-
DO
loops - 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
-
FREQUENCY
statement (for providing optimization hints to the compiler)
FORTRAN 66 includes:
- Main program,
SUBROUTINE
,FUNCTION
, andBLOCK DATA
program units -
INTEGER
,REAL
,DOUBLE PRECISION
,COMPLEX
, andLOGICAL
data types -
COMMON
,DIMENSION
, andEQUIVALENCE
statements -
DATA
statement for specifying initial values - Intrinsic and
EXTERNAL
(e.g., library) functions - Assignment statement
-
GOTO
, assignedGOTO
, and computedGOTO
statements - Logical
IF
and arithmetic (three-way)IF
statements -
DO
loops -
READ
,WRITE
,BACKSPACE
,REWIND
, andENDFILE
statements for sequential I/O -
FORMAT
statement -
CALL
,RETURN
,PAUSE
, andSTOP
statements - Hollerith constants in
DATA
andFORMAT
statements, and as actual arguments to procedures - Identifiers of up to six characters in length
- Comment lines
FORTRAN 77 includes:
- Block
IF
andEND IF
statements, with optionalELSE
andELSE IF
clauses. - DO loop extensions, including parameter expressions, negative increments, and zero trip counts
-
OPEN
,CLOSE
, andINQUIRE
statements for improved I/O capability - Direct-access file I/O
-
IMPLICIT
statement -
CHARACTER
data type, with vastly expanded facilities for processing of character-based data -
PARAMETER
statement for specifying constants -
SAVE
statement 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 WHILE
andEND DO
statements -
INCLUDE
statement -
IMPLICIT NONE
variant of theIMPLICIT
statement - Bit manipulation intrinsic functions, based on similar functions included in Industrial Real-Time Fortran (ANSI/ISA S61.1 (1976))
- This page originates from Wikipedia.