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 in EGL
SQL support