Basic HTML version of Foils prepared
17 Sept 1996
Foil 13 MODULEs in Fortran90
From
New CPS615HPF and Fortran90 Discussion Sept 17 96 Basic Simulation Track for Computational Science CPS615 --
Fall Semester 96
.
by
Geoffrey C. Fox, Tom Haupt
1
General Syntax is:
2
MODULE name
Specify it!
3
CONTAINS This is optional
module subprograms
4
END MODULE name
5
MODULE IllustratingCommonBlock
INTEGER DIMENSION(52) :: CARDS
6
END MODULE IllustratingCommonBlock
7
replaces COMMON construct and can be used as
8
USE IllustratingCommonBlock
in Table To:
©
on Tue Oct 7 1997