Top: f77 Up: 8 - Data
Previous: 8,2,2 - Subscripts Next: 8,4 - Constants
Section 8,3: Array_Name_Reference
An array name reference resolves into the name of an array with no
subscripts after the array name. For example:
Data Declarations:
INTEGER INT, INTARY (10)
. . .
STRUCTURE /STRA/
INTEGER INTFLD, INTFLDARY (10)
END STRUCTURE
. . .
STRUCTURE /STRB/
CHARACTER*20 CHARFLD
INTEGER INTFLD, INTFLDARY (10)
STRUCTURE STRUCFLD
COMPLEX CPXFLD, CPXFLDARY (10)
END STRUCTURE
RECORD /STRA/ RECFLD, RECFLDARY (10)
END STRUCTURE
. . .
RECORD /STRB/ REC, RECARY (10)
Reference Examples:
INTARY --- Numeric or character array
RECARY --- Array of records
REC.INTFLDARY --- Numeric or character array field of a record
REC.RECFLDARY --- Array of substructures within a record
RECARY(1).INTFLDARY --- Numeric or character array field of a
record array element
RECARY(1).RECFLDARY --- Array of substructures within a record
array element
Top: f77 Up: 8 - Data
Previous: 8,2,2 - Subscripts Next: 8,4 - Constants