Record parts
A record part defines a structure (a hierarchical layout of fixed-size data elements in storage) and an optional binding, which is a relationship, of the record to an external data source (file, database, or message queue). The binding is specified by the record type and associated properties. The record is used as a type when declaring variables (including parameters), and the structure defines the layout of the storage allocated for the variables. The data source binding determines the type of I/O operations generated for the variable when the variable is used in an I/O statement.
You may use a record variable in an EGL function in the following contexts:
- In most cases, in a statement that copies data to or from data storage
- In an assignment statement
- As an argument that passes data to another program or function
You also may use a record variable in these ways:
- As a parameter that receives data into a program
- As a parameter that receives data into a function
Related concepts
DataItem part
Parts
Record types and properties
Resource associations and file types
Structure
Typedef
Related tasks
Setting the default build descriptors
Setting preferences for the EGL editor
Related reference
EGL source format
Data initialization
Items
Primitive types