LIB Help (lib.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Replace Command (-+)
 Example                                   Up Contents Index Back
─────LIB────────────────────────────────────────────────────────────────────
 
     Syntax:  -+name
 
     The replace command (-+) deletes a module from a library, then
     appends an object file having the same name as the module.
     Following the operator, specify the name of the module to be
     replaced. A module name has no pathname and no extension. The
     object file is assumed to have an .OBJ extension and to reside in
     the current directory.
 
     To replace a module, LIB performs the following steps:
 
       1. Deletes the existing module
 
       2. Searches the current directory for an .OBJ file with the same
          name as the deleted module
 
       3. Appends to the library a copy of the object file with the
          original module name
                                    -♦-