EGL (programming language): Difference between revisions

Content deleted Content added
clean up, typo(s) fixed: Extention → Extension using AWB
Line 17:
An EGL Program part is a generatable logic part with one entry point. Each Program part contains a main() function, which represents the logic that runs at program start up. A program can include other functions and can access functions that are outside of the program. The function main() can invoke those other functions. Program functions are composed of a set of EGL statements, variables, and constants.
 
<source lang="javatext">
Program HelloWorld
 
Line 38:
An EGL Record part defines a set of data elements. In this example, a record with the name '''''CustomerRecord''''' is defined with 6 fields.
 
<source lang="javatext">
Record CustomerRecord type BasicRecord
customerNumber INT;
Line 51:
EGL has a specialized type of record called '''''SQLRecord''''' that is used to exchange data with a relational database.
 
<source lang="javatext">
 
record Employee type sqlRecord { tableNames =[["Employee"]