Previous Topic Next topic Print topic


Invoking Library

To invoke Library, enter:

library filename [filename...] [==library-name]

where the parameters are:

filename
A file to be included in the library, or a library whose contents are to be included in the library, or a library batch file.
library-name
The library to be saved. If this is not specified, the library takes the name of the first parameter: filename-1.lbr.

filename and library-name can include drive and/or path. If these are unspecified the current directory is assumed.

If you specify a .lbr library file as a filename, the new library includes all the files contained in the old library.

For libraries that you are going to create and recreate frequently, you can write a library batch file (.lbt file) which contains the list of files to be included in the library. See the section Creating a Library Batch File below.

If an overlaid program is in a library, all the overlays must be in the same library as the program root segment.

Because filename can include a library name as part of the path, you can use the Library utility to copy files from one or more existing libraries into a new library. You must give the name of the new library by using the library-name parameter.

Example:

library $COBDIR/mylib1.lbr/linein.gnt == mylib2.lbr
Previous Topic Next topic Print topic