Skip to main content
Log in

Remark on algorithm 24, regarding a very common violation of the Fortran standard

Bemerkung betreffend einen sehr häufigen Verstoß gegen den Fortran-Standard

  • Short Communication
  • Published:
Computing Aims and scope Submit manuscript

Abstract

According to the Fortran standard, variables in a subprogram will become undefined at the execution of the RETURN statement, if they are not contained in the list of dummy arguments or in a common block.

Zusammenfassung

Der Fortran-Standard besagt, daß alle Variablen in einem Unterprogramm, die nicht in der Liste von Argumenten des Unterprogrammes oder in einem Common Block enthalten sind, bei Ausführung des RETURN-Satzes undefiniert werden.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

References

  1. American National Standard, FORTRAN, ANSI X3.9-1966, American National Standards Institute. Available through yournational standards organization.

  2. Fortran Standards Committee (ANSI X3J3): Draft Proposed Fortran Standard (Revised) To appear in the informal ACM publication SIGPLAN Notices in 1976.

  3. ISO Recommendation R1539, Programming Language FORTRAN, International Organization for Standardization, 1972. Available through yournational standards organization.

  4. James, K. R., Riha, W.: Algorithm 24, Algorithm for Deriving the Chromatic Polynomia of a Graph. Computing14, 195–203 (1975).

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Einarsson, B. Remark on algorithm 24, regarding a very common violation of the Fortran standard. Computing 16, 291–292 (1976). https://doi.org/10.1007/BF02280887

Download citation

  • Received:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02280887

Keywords

Navigation