The creation process is essentially the same
for most EGL source files.
Before you can perform this task you must create an EGL project
or a folder to contain the source file to be created.
To create a source file that contains an EGL part, do as
follows:
- Specify a project or folder when you create an EGL source
file. You can do this in one of two ways:
- Right-click the name of a project or folder in your workspace,
and click .
- With a project or folder selected in your workspace, click .
The Select a wizard window opens.
- In the Select a wizard window, expand EGL,
and select the type that you want to create. Available
types are as follows:
- External type
- Handler
- Interface
- Library
- Program
- Record
- Service
- Source File (generic wizard for EGL source files)
- Click Next. EGL
displays a new type wizard. In the Source folder field,
EGL shows the project or folder that you previously selected.
- If you chose the wrong name initially, you can change this
name to that of another existing project or folder.
- In the Package field, select a package
to hold the new file. If the package name you enter here does not
exist, EGL creates it for you. To ensure that you use the correct
name of an existing package, click Browse and
locate the package name.
- In the Name field, type a name for
the new file. The file name must be same as the part name. For example,
assume your file will define a program named checkCustomerBalance:
Program checkCustomerBalance type BasicProgram
...
end
In this case you must name the file checkCustomerBalance.
EGL will add the .egl extension to file name automatically.
File
names that contain EGL parts must conform to EGL part naming conventions.
For more information, see "Naming conventions."
- Some wizards require further information.
- Click Finish.