B.11 The Compaq Fortran POINTER Statement

The POINTER statement discussed here is different from the one discussed in Section 5.15. It establishes pairs of variables and pointers, in which each pointer contains the address of its paired variable.

This POINTER statement takes the following form:

POINTER (pointer, pointee) [, (pointer, pointee)] . . .

Is a variable whose value is used as the address of the pointee.

Is a variable; it can be an array name or array specification.

Rules and Behavior

The following are pointer rules and behavior:

The following are pointee rules and behavior:

Previous Page Next Page Table of Contents