4.7.3 EQUIVALENCE and COMMON Interaction

A common block can extend beyond its original boundaries if variables or arrays are associated with entities stored in the common block. However, a common block can only extend beyond its last element; the extended portion cannot precede the first element in the block.

Examples

Figure 4-3 and Figure 4-4 show valid and invalid extensions of the common block, respectively.

Figure 4-3 A Valid Extension of a Common Block

Figure 4-4 An Invalid Extension of a Common Block

The second example is invalid because the extended portion, B(1), precedes the first element of the common block.


Previous Page Next Page Table of Contents