CROSSREF Manual

FORTRAN
Sample Listing
Figure 9-2 shows the first page of the cross-reference listing.
This is the cross-reference file list. It lists the name of each
source file scanned. In this example, only one file, FORTEX, was
scanned.
PAGE 1
CROSSREF - CROSS-REFERENCE PROGRAM - T9622C00 - (15JUL87)
Copyright Tandem Computers Incorporated 1982, 1983, 1984, 1985, 1986
FILE NO. FILE NAME
[1] $EM2.UCREF.FORTEX
Figure 9-2. CROSSREF Listing--File List
The identifier list makes up the rest of the cross-reference
listing. See Figure 9-3 on the following page. The identifier
list describes each identifier in alphabetic order, showing:
• How it is defined (its attributes)
• Where it is defined (file name and number and line number)
• Where and how it is used in the program
Look at the entry for the identifier named COUNT. The identifier
header indicates that it is an INTEGER * 2 VARIABLE (a 1-word,
2-byte integer) stored in blank common.
The identifier is first defined in the file FORTEX at line 5
and again at line 8 (indicated by code D). Then it is write
referenced at lines 11 and 18 (indicated by code W); it is read
referenced at lines 12 and 18 (indicated by code blank); and it
is parameter referenced at line 21 (indicated by code P).
9-5