LIB Help (lib.hlp) (
Topic list)
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
-♦-