EGL Reference Guide for iSeries


Function part

A function part is a logical unit that either contains the first code in the program or is invoked from another function. The function that contains the first code in the program is called main.

The function part can include the following properties:

The function main is unusual in that it cannot return a value or include parameters, and it must be declared inside a program part.


Related concepts
Parts
Program part
References to variables and constants
SQL support


Related reference


Data initialization
EGL source format
Function invocations
EGL statements


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]