Advertisement

Overloading and Defined Operations

  • Cooper Redwine

Abstract

Fortran 90 permits a programmer to arrange things so that the same name can be used to invoke different procedures, the meaning of an intrinsic operator can be extended so that it has programmer-defined meaning(s) in addition to its intrinsic meanings, and the meaning of the equal sign (=) can also be extended so that it has programmer-defined meaning(s) in addition to its intrinsic meanings. There are similar capabilities in Ada and C++, and the term “overloading” is frequently used in discussing such capabilities. But in addition to supporting the overloading of intrinsic operators, Fortran 90 permits the programmer to define new operators, a capability not currently available in other popular languages. The remainder of this section will introduce overloading and programmer-defined operators as implemented in Fortran 90, and the rest of the chapter will discuss the details.

Keywords

Rational Number Equal Sign Main Program Generic Identifier Module Procedure 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Springer-Verlag New York, Inc. 1995

Authors and Affiliations

  • Cooper Redwine
    • 1
  1. 1.Northrop Grumman CorporationPico RiveraUSA

Personalised recommendations