Creating an EGL library part

An EGL library part contains a set of functions, variables, and constants that can be used by programs, PageHandlers, or other libraries. To create an EGL library part, do as follows:

  1. Identify a project or folder to contain the file. You must create a project or folder if you do not already have one.
  2. In the workbench, click File > New > Library.
  3. Select the project or folder that will contain the EGL file, then select a package. Since the library name will be identical to the file name, choose a file name that adheres to EGL part name conventions. In the EGL Source File Name field, type the name of the EGL file, for example myLibrary.
  4. Select the type of library by clicking one of the following radio buttons:
    • Basic - Create a basic library
    • Native - Create a native library
  5. Click the Finish button.

Related concepts
EGL projects, packages, and files
Introduction to EGL
Library part of type basicLibrary
Library part of type nativeLibrary

Related tasks
Creating an EGL source folder
Creating an EGL Web project

Related reference
Creating an EGL source file
Library part in EGL source format
Naming conventions

Feedback
(C) Copyright IBM Corporation 2000, 2005. All Rights Reserved.