/sys$common/syshlp/helplib.hlb FORTRAN, Data, Array Name Reference *Conan The Librarian (sorry for the slow response - running on an old VAX) |
An array name reference resolves itself to 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 --- Is a numeric or character array. RECARY --- Is an array of records. REC.INTFLDARY --- Is a numeric or character array field of a record. REC.RECFLDARY --- Is an array of substructures within a record. RECARY(1).INTFLDARY --- Is a numeric or character array field of a record array element. RECARY(1).RECFLDARY --- Is an array of substructures within a record array element.
|