B.12.2 RECORD Statement

A RECORD statement takes the following form:

RECORD /structure-name/record-namelist
      [, /structure-name/record-namelist]
      . . .
      [, /structure-name/record-namelist]


structure-name
Is the name of a previously declared structure.


record-namelist
Is a list of one or more variable names, array names, or array specifications, separated by commas. All of the records named in this list have the same structure and are allocated separately in memory.

Rules and Behavior

You can use record names in COMMON and DIMENSION statements, but not in DATA, EQUIVALENCE, or NAMELIST statements.

Records initially have undefined values unless you have defined their values in structure declarations.


Previous Page Next Page Table of Contents