Next: Communications
Up: Programming with Fortran

COMMON Blocks

Before you begin this lesson, you should read sections 15.1--15.4 of the text.

In this lesson we will look at COMMON blocks, which are a way of sharing data among the main program and the various subroutines and functions that make up a program. Although we will illustrate how COMMON blocks work by studying small programs, they are useful primarily for organizing large programs.

You need to copy some files before we begin.

Click here to copy files




Next: Communications
Up: Programming with Fortran

Hamlet Project
hamlet@cs.utah.edu