2015 | OriginalPaper | Buchkapitel
Modules and Procedures
verfasst von : Walter S. Brainerd
Erschienen in: Guide to Fortran 2008 Programming
Verlag: Springer London
Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.
Wählen Sie Textabschnitte aus um mit Künstlicher Intelligenz passenden Patente zu finden. powered by
Markieren Sie Textabschnitte, um KI-gestützt weitere passende Inhalte zu finden. powered by
Large programs are extremely difficult to debug and maintain unless they are split into independent parts. Even relatively short programs are greatly improved when their component parts are refined as procedures. Modules provide a place to put data declarations so that they can be used and shared by programs. Modules also provide the place to put a Fortran procedure, which is either a function or a subroutine, and to put definitions of user-defined types; these are basic building blocks of a program and are usually used by more than one part of a program.