Each field declaration can be one of the following:
A substructure--either another structure declaration, or a record that has been previously defined
A union declaration, which is described later
A FORTRAN type declaration
Example: A STRUCTURE declaration:
STRUCTURE /PRODUCT/ INTEGER*4 ID CHARACTER*16 NAME CHARACTER*8 MODEL REAL*4 COST REAL*4 PRICE END STRUCTURE
In the above example, a structure named PRODUCT is defined to consist of the five fields ID, NAME, MODEL, COST, and PRICE. For an example with a field-list, see "Structure within a Structure ".