CROSSREF Manual

PASCAL
Sample Listing
Figure 10-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, PASCALEX,
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.PASCALEX
Figure 10-2. CROSSREF Listing--File List
The identifier list makes up the rest of the cross-reference
listing. See Figure 10-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 PERSONKIND. The
identifier header indicates that is a public variable of type
enumeration. It is defined in the file PASCALEX at line 10
(indicated by code D) and referenced at line 30 (indicated by
code M).
Now look at the second entry for the identifier named
PORTOFENTRY. The identifier header indicates that it is con-
tained in the routine MAKETHEPERSON and is defined in the file
PASCALEX at line 63. The reference line indicates that it is
a parameter of the type PLACENAME and is read referenced in the
file at line 75 (indicated by a blank code).
10-5