Input record

Any main program part can have an input record, which is a global record that the EGL-generated program automatically initializes. The record must be of type basicRecord.

If the program starts as a result of a transfer with a record, the program initializes the input record (which is internal to that program), then assigns the transferred data to the record.

If the input record is longer than the received data, the extra area in the input record retains the values assigned during record initialization. If the input record is shorter than the received data, the extra data is truncated.

If primitive types in the transferred data are incompatible with the primitive types in the equivalent positions in the input record, the receiving program may end abnormally.

Related concepts
Overview of EGL properties and overrides
Parts
Compatibility with VisualAge Generator

Related reference
Data initialization