Abstract
The aims of this chapter are to look at the facilities found in Fortran provided by modules, in particular:
-
The use of a module to aid in the consistent definition of precision throughout a program and subprograms.
-
The use of modules for global data .
-
The use of modules for derived data types.
-
Modules containing procedures
-
A module for timing programs
-
Public, private and protected attributes
-
The use statement and its extensions
Common sense is the best distributed commodity in the world, for every man is convinced that he is well supplied with it.
Descartes
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this chapter
Cite this chapter
Chivers, I., Sleightholme, J. (2015). Modules. In: Introduction to Programming with Fortran. Springer, Cham. https://doi.org/10.1007/978-3-319-17701-4_21
Download citation
DOI: https://doi.org/10.1007/978-3-319-17701-4_21
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-17700-7
Online ISBN: 978-3-319-17701-4
eBook Packages: Computer ScienceComputer Science (R0)