From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.6 required=5.0 tests=BAYES_20,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5e7d910855b4fd03 X-Google-Attributes: gid103376,public From: WishList@2600.com (Technobabble) Subject: Re: access type referencing nested array element Date: 1998/09/19 Message-ID: #1/1 X-Deja-AN: 392639407 References: Organization: WannaBeACracker NNTP-Posting-Date: Fri, 18 Sep 1998 21:40:28 MDT Newsgroups: comp.lang.ada Date: 1998-09-19T00:00:00+00:00 List-Id: Greetings Dale, > > Anyone know the syntax for referencing an array element (record) from an > > access type pointing to an array of records ? > > > > XYZ (5).a -- implicit dereferencing > XYZ.all (5).a -- explicit dereferencing > > > Dale Ok, that means that if XYZ is a pointer to array of records, I can simply use the pointer with the array index eg. (5) to access the 5th record. Now if I want to get the address of the 5th record would this be correct: type xyz is access xyz_rec; XYZ_POINTER := XYZ (5)'access; ???? thanks. Richmond