CROSSREF Manual

FORTRAN
Sample Listing
SAMPLE LISTING
The following example starts CROSSREF, scans the file named
FORTEX, and generates a listing to $s.#lp:
15> CROSSREF
CROSSREF-CROSS-REFERENCE PROGRAM-T9622C00-(15JUL87)
Copyright Tandem Computers Incorporated 1982, 1983, 1985, 1986
&SET LANGUAGE fortran
&SCAN fortex
&GENERATE /OUT $s.#lp/
&EXIT
16>
On the following pages, you can see the program and its cross-
reference listing. The listing includes all identifier classes
except literals.
Figure 9-1 shows the FORTRAN program that CROSSREF scanned to
produce the cross-reference listing.
9-3