Creating an EGL function part

A function part is a logical unit that either contains the first code in a program or is invoked from another function. EGL function parts are contained in EGL files. To create an EGL function part, do as follows:

  1. Identify an EGL file to contain the function part and open that file in the EGL editor. You must create an EGL file if you do not already have one.

  2. Type the specifics of the function part according to EGL syntax (for details, see Function part in EGL source format). You can use content assist to place an outline of the function part syntax in the file.

  3. Save the EGL file.

Related concepts
EGL projects, packages, and files
Function part

Related tasks
Creating an EGL source file
Using content assist in EGL

Related reference
Content assist
Function invocations
Function part in EGL source format
Naming conventions