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.
References
American National Standard, FORTRAN, ANSI X3.9-1966, American National Standards Institute. Available through yournational standards organization.
Fortran Standards Committee (ANSI X3J3): Draft Proposed Fortran Standard (Revised) To appear in the informal ACM publication SIGPLAN Notices in 1976.
ISO Recommendation R1539, Programming Language FORTRAN, International Organization for Standardization, 1972. Available through yournational standards organization.
James, K. R., Riha, W.: Algorithm 24, Algorithm for Deriving the Chromatic Polynomia of a Graph. Computing14, 195–203 (1975).
Author information
Authors and Affiliations
Rights 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
Received:
Issue Date:
DOI: https://doi.org/10.1007/BF02280887