Notes Fortran 7

Math 61 -- D. C. Smolarski, S.J.
Santa Clara University, Department of Mathematics and Computer Science

[Return to Math 60 Homepage | Return to Notes Listing Page]

Contents


Obsolescent Features [EF 19.1]

The Fortran-90 standard (i.e., language definition) introduced the concept of obsolescence and some authors also speak about deprecation. These terms apply to those features that may, in fact, be removed from future revisions of Fortran (i.e., no longer included in future "standards") or have been rendered unnecessary. Most of these statements are no longer needed because of the introduction of newer, more versatile statements and structures, and therefore should be avoided as much as possible to conform to good programming practices. Fortran-95 and Fortran-2003 continue to list certain statements as obsolescent.

Note that compilers will continue to support obsolescent statements and features, and some new compilers may even continue to support features that have been recently removed. Future compilers, however, will not be required to support features once designated as obsolescent and then subsequently removed from the official definition of Fortran.

Fortran-90 "obsolescent" statements and features include the following:

Of these features, the following have been removed from Fortran-95 and, thus, may not be supported by Fortran-95 compilers: Newly declared "obsolescent" statements and features for Fortran-95 include the following: The following has been removed from Fortran-2003 and, thus, may not be supported by Fortran-2003 compilers: The following are mentioned as "deprecated" (or "redundant") features by certain authors. This designation has no offical status in Fortran standards but are suggestive of features that may, in fact, be eventually listed as "obsolescent." They should also be avoided in new Fortran code, since they can be replicated by newer features which can lead to code that is more easily understandable. Since many of these features are very common in older code that is still widely used, the features will probably continue to be supported in the near future.

New Fortran-95 Features [EF 19.2]

The major new features of Fortran-95 (not present in Fortran-90) include the following:

HPF [EF 19.4]

High Performance Fortran or "HPF" is a superset of Fortran-90/95. The main extension are compiler directives that begin with !HPF$. Such statements are seen as comments by other compilers, but are interpreted by HPF compilers to optimize the performance of the code on parallel machines.

HPF also includes a few additional intrinsic functions pertinent to executing code on parallel machines.

Further information about HPF should be obtained from detailed manuals for the machine being used.

Fortran 2003 Features [EF 19.3]

Link to notesfor2003.html page

Miscellaneous

There are numerous other features of Fortran 90/95/2003, many of which would not be used by the casual programmer. This listing merely tries to show you the power of the current version of this language.


15

This page is maintained by Dennis C. Smolarski, S.J. dsmolarski@math.scu.edu
© Copyright 1998, 1999, 2006 Dennis C. Smolarski, SJ, All rights reserved.
Last changed: 14 February 2006.