VMS Help
FORTRAN, Data, Aggregate Reference

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

  An aggregate reference resolves itself to a reference to a
  structured data item (a record structure or substructure).  For
  example:

  Data Declarations:

     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:

     REC --- Is a record name.

     RECARY(1)  --- Is a record array reference.

     REC.RECFLD --- Is a reference to a substructure.

     REC.RECFLDARY(1) --- Is a reference to a substructure
                          array element.

     RECARY(1).RECFLD --- Is a reference to a substructure
                          in a record array element.

     RECARY(1).RECFLDARY(1) --- Is a reference to a substructure
                                array element in a record array.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.