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=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e387e3de20c4f9c5 X-Google-Attributes: gid103376,public From: John English Subject: Re: Help? Date: 1999/11/22 Message-ID: <38392456.E660EAA6@bton.ac.uk>#1/1 X-Deja-AN: 551589946 Content-Transfer-Encoding: 7bit References: <38382bef.0@silver.truman.edu> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: University of Brighton Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-11-22T00:00:00+00:00 List-Id: Matthew Lawrence wrote: > In one procedure I have stored a set of records in an array. I need to in > another procedure access individual fields of those records. I guess I have > two main questions. > > 1) Can I pass the entire array from the first procedure to the second? Yes. > 2) How would I access individual fields of the records that are stored in > the array? if Arr is the array, Arr(I) is a single array element (i.e. a single record), so Arr(I).Component is a component of that record. ----------------------------------------------------------------- John English | mailto:je@brighton.ac.uk Senior Lecturer | http://www.it.bton.ac.uk/staff/je Dept. of Computing | ** NON-PROFIT CD FOR CS STUDENTS ** University of Brighton | -- see http://burks.bton.ac.uk -----------------------------------------------------------------