Basic - DOS BASIC - VBDOS - LIB

LIB.EXE creates, organizes, and maintains run-time libraries (.LIB) of object modules (.OBJ) produced by BC.EXE - LINK.EXE may use object modules (.OBJ) and libraries (.LIB) to produce executables.

Command Line:

LIB oldlibrary [options] [commands] [,[listfile] [,[newlibrary]]] [;]

oldlibrary
Name of existing library.
 
options
/?   Displays command-line options for LIB.
/I (Default) Directs LIB to ignore case when comparing symbols;
use to combine library marked /NOI with an unmarked library to create new, unmarked library.
/NOE Prevents LIB from creating extended dictionary.
/NOI Directs LIB to use case when comparing symbols.
/NOLOGO Causes LIB to suppress sign-on banner.
/PA:n Specifies library-page size of new library, or changes library-page size of existing library;
default page size for new library is 16 bytes.
 
commands
Command symbols used for manipulating modules:
+   Add
- Delete
* Copy
-* Move
-+ Replace
 
listfile
Name of cross-reference-listing file to generate.
 
newlibrary
Name of modified library created by LIB.
 
;
Uses default values for remaining fields;
if omitted, LIB prompts for remaining parameters.

Examples:

LIB MY.LIB, MY.LST;
Makes Listfile with public symbols.