4.29. 4.29 Records
Another major composite data structure is the Pascal record or C/C++ structure. The Pascal terminology is probably better, because it tends to avoid confusion with the more general term data structure. Because HLA uses the term "record" we'll adopt that term here.
 It also goes by some other names in other languages, but most people recognize at least one of these names.
Whereas an array is homogeneous, whose elements are all the same, the elements in a record can have different types. Arrays let you select a particular element via an integer index. With records, you must select an element (known as a field) by name.
The whole purpose of a record is to let you encapsulate different, but logically related, data into a single ...