HTML version of Scripted Foils prepared 27 December 1996

Foil 11 MODULEs in Fortran90

From CPS615-Introduction to F90 Features, Rationale for HPF and Problem Architecture Delivered Lectures of CPS615 Basic Simulation Track for Computational Science -- 24 September 96. by Geoffrey C. Fox *
Secs 64.8
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

Table Font Size


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Fri Aug 15 1997