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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

Examples:<br />

A>LIB TEST4[p]<br />

A>LIB TEST5[P]=FILE1 ,FILE2<br />

The first example displays all modules and publics in TEST4.REL. The<br />

second example creates TEST5.REL from FILEL.REL and FILE2.REL,<br />

and displays all modules and publics in TEST5.REL.<br />

A >L IB TEST= TESTI (MODI ,MOD4) , TEST2 (Cl -C4 ,C6)<br />

In the preceding example LIB creates a library file TEST.REL from<br />

modules in two source files. TEST1.REL contributes MOD1 and MOD4.<br />

LIB extracts modules Cl, C4, all the modules located between them,<br />

and module C6 from TEST2.REL.<br />

A>LIB FILE2=FILE3<br />

In this example, LIB creates FILE2.REL from FILE3.REL, omitting<br />

MODA which is a module in FILE3.REL.<br />

A>LIB FILE6=FILE5<br />

A>LIB FILE6=FILE5<br />

In the first example, MODA is in the existing FILE5.REL. When LIB<br />

creates FILE6.REL from FILE5.REL, FILEB.REL replaces MODA.<br />

In the second example, module THISNAME is in FILES.REL. When<br />

LIB creates FILE6.REI, from FILES.REL the file THISNAME.REL<br />

replaces the similarly named module THISNAME.<br />

A>LIB FILE1[I]=B:FILE2(PLOTS,FIND,SEARCH-DISPLAY)<br />

In this example LIB creates FILE1.IRL on drive A from the selected<br />

modules PLOTS, FIND, and modules SEARCH through the module<br />

DISPLAY, in FILE2.REL on drive B.<br />

5-55

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

Saved successfully!

Ooh no, something went wrong!