After the release of the FORTRAN 66 standard, compiler vendors introduced a number of extensions to "Standard Fortran", prompting ANSI committee X3J3 in 1969 to begin work on revising the 1966 standard, under sponsorship of CBEMA, the Computer Business Equipment Manufacturers Association (formerly BEMA). Final drafts of this revised standard circulated in 1977, leading to formal approval of the new FORTRAN standard in April 1978. The new standard, known as FORTRAN 77 and officially denoted X3.9-1978, added a number of significant features to address many of the shortcomings of FORTRAN 66:
- Block
IFandEND IFstatements, with optionalELSEandELSE IFclauses, to provide improved language support for structured programming - 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
IMPLICITstatementCHARACTERdata type, with vastly expanded facilities for character input and output and processing of character-based dataPARAMETERstatement for specifying constantsSAVEstatement 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. (These ASCII functions were demanded by the U.S. Department of Defense, in their conditional approval vote.[citation needed])
- Hollerith constants and Hollerith data, such as:
-
- GREET = 12HHELLO THERE!
- Reading into an H edit (Hollerith field) descriptor in a FORMAT specification.
- Overindexing of array bounds by subscripts.
-
DIMENSION A(10,5)Y= A(11,1)
- Transfer of control out of and back into the range of a DO loop (also known as "Extended Range").
Variants: Minnesota FORTRAN
Control Data Corporation computers had another version of FORTRAN 77, called Minnesota FORTRAN (MNF), designed especially for student use, with variations in output constructs, special uses of COMMONs and DATA statements, optimizations code levels for compiling, and detailed error listings, extensive warning messages, and debugs.[11]Transition to ANSI Standard Fortran
The development of a revised standard to succeed FORTRAN 77 would be repeatedly delayed as the standardization process struggled to keep up with rapid changes in computing and programming practice. In the meantime, as the "Standard FORTRAN" for nearly fifteen years, FORTRAN 77 would become the historically most important dialect.An important practical extension to FORTRAN 77 was the release of MIL-STD-1753 in 1978.[12] This specification, developed by the U.S. Department of Defense, standardized a number of features implemented by most FORTRAN 77 compilers but not included in the ANSI FORTRAN 77 standard. These features would eventually be incorporated into the Fortran 90 standard.
DO WHILEandEND DOstatementsINCLUDEstatementIMPLICIT NONEvariant of theIMPLICITstatement- Bit manipulation intrinsic functions, based on similar functions included in Industrial Real-Time Fortran (ANSI/ISA S61.1 (1976))
No comments:
Post a Comment