FORTRAN Reference Manual

Compiler Directives
FORTRAN Reference Manual528615-001
10-16
DATAPAGES Compiler Directive
The effect of the CROSSREF directive is suspended, but not cancelled, by the
NOLIST and SUPPRESS directives.
Using GENERATE
The compiler normally lists requested cross-reference tables at the end of the
compilation. If you specify GENERATE, the compiler lists the requested cross-
reference tables at the end of the current program unit, and discards the
accumulated references up to that point. At the end of the compilation, the
compiler lists the cross-reference information since the last GENERATE listing.
Using NOCROSSREF
The NOCROSSREF directive prevents generation of references. It takes effect at
the start of the next program unit.
If you specify a list of classes with the NOCROSSREF directive, the compiler
deletes the listed classes from the listing. The compiler does not produce a listing
unless a previous CROSSREF directive is in effect.
Example
The following example generates a cross-reference list at the end of the current
program unit. The list contains all identifiers except unreferenced variables, unnamed
constants, and intrinsic functions.
?CROSSREF, NOCROSSREF INLINES, CROSSREF GENERATE
DATAPAGES Compiler Directive
The DATAPAGES directive specifies the number of virtual memory pages to allocate
for data storage.
number
is a number in the range 0 through 64.
The default value is equal to the size of the control table plus four pages.
Considerations
If ENV COMMON is in effect, FORTRAN always allocates 64 data pages,
regardless of the value of number.
If you do not include this directive in the source file, FORTRAN estimates the
number of pages to use.
DATAPAGES number