Please enable JavaScript to view this site.

ESL Documentation

Action Statement

Initialize a single structure element.

initialize STRUCT

STRUCT

Any item whose type is a single structure, including a simple structure, an element in a structure array, a field that is a structure, or an element in a field that is an array of structures.

Description

Use this statement to initialize all of the fields within a structure.

Note that you cannot use this statement to initialize an entire array of structures at once. To do that, you must loop through the array and initialize each sturcture individuallly.

See Also

structure is Definition