FORTRAN Reference Manual

Compiler Directives
FORTRAN Reference Manual528615-001
10-15
CROSSREF Compiler Directive
For information on calling procedures not written in FORTRAN, see Section 13,
Mixed-Language Programming.
Example
?CONSULT mylib
CROSSREF Compiler Directive
The CROSSREF directive instructs the SYMSERV process to generate cross-
reference information for selected identifier classes.
identifier-class
is one or more of the following keywords:
Considerations
Specify the CROSSREF directive either on the FORTRAN command line or in the
source file preceding the first FORTRAN statement, or between the END line of
one program unit and the first FORTRAN statement of the next program unit.
If you omit the argument list, the CROSSREF directive lists information for all
classes listed in the syntax diagram except LITERALS and UNREF.
[NO]CROSSREF
Keyword Meaning
BLOCKS COMMON blocks
BLOCKDATAS BLOCK DATA subprograms
CONSTANTS PARAMETER-named constants
DUMMYPROCS Dummy procedures
FMTLABELS FORMAT statement labels
FUNCTIONS FUNCTION subprograms
GENERATE See Considerations
INLINES Intrinsic functions
LITERALS Unnamed constants
PROCEDURES SUBROUTINE subprograms
PROGLABELS Executable statement labels
STMTFUNCS Statement functions
UNREF Unreferenced identifiers
VARIABLES Variables, arrays, records
identifier class
identifier class , identifier class[]. . . ()