03.03.2013 Views

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

DIGITAL RESEARCH(r) CP/M Plus TM (CP/M Version 3) Operating ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

The XREF Command <strong>CP</strong>/M 3 User's Guide<br />

The XREF Command<br />

Syntax: XREF {d:} filename {$P}<br />

Explanation: The XREF command provides a cross-reference summary of variable<br />

usage in a program. XREF requires the PRN and SYM files produced<br />

by MAC or RMAC for the program.<br />

The SYM and PRN files must have the same filename as the filename<br />

in the XREF command tall. XREF outputs a file of type XRF.<br />

Examples: A>XREF B:MYPROG<br />

In this example, XREF is on drive A. XREF operates on the file<br />

MYPROG.SYM and MYPROG.PRN which are on drive B. XREF produces<br />

the file MYPROG.XRF on drive B.<br />

A>XREF B:MYPROG $P<br />

In the preceding example, the $P option directs output to the printer.<br />

End of Section 5<br />

5-117

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!