Creating and deleting libraries
A library is created automatically when you create a new target,
but you can create as many libraries as you need for your project in
the Library painter.
To create a library
-
Click the Create button or select Entry>Library>Create
from the menu bar.The Create Library dialog box displays showing the current
directory and listing the libraries it contains. -
Enter the name of the library you are creating and specify
the directory in which you want to store it.The file is given the extension .PBL.
-
Click Save.
The library properties dialog box displays.
-
Enter any comments you want to associate with the
library.Adding comments to describe the purpose of a library is
important if you are working on a large project with other
developers. -
Click OK.
PowerBuilder creates the library.
To delete a library
-
In either the Tree view or the List view, select the library
you want to delete. -
Select Entry>Delete from the menu bar or select Delete
from the pop-up menu.Restriction
You cannot delete a library that is in the current
target’s library search path.The Delete Library dialog box displays showing the library
you selected. -
Click Yes to delete the library.
The library and all its entries are deleted from the file
system.Creating and deleting libraries at runtime
You can use the LibraryCreate and LibraryDelete functions
in scripts to create and delete libraries. For information about
these functions, see the PowerScript Reference.