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.9 required=5.0 tests=BAYES_00,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e5f2c12e14eeb0f5,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-21 15:41:28 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!server3.netnews.ja.net!newshost.central.susx.ac.uk!news.bton.ac.uk!not-for-mail From: "Jon" Newsgroups: comp.lang.ada Subject: Can you use arrays from another package ? Date: Tue, 21 May 2002 23:28:48 +0100 Organization: University of Brighton Message-ID: NNTP-Posting-Host: dhcp-vah188.admin.bton.ac.uk X-Trace: saturn.bton.ac.uk 1022020059 3045 193.62.188.188 (21 May 2002 22:27:39 GMT) X-Complaints-To: news@bton.ac.uk NNTP-Posting-Date: 21 May 2002 22:27:39 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:24486 Date: 2002-05-21T22:27:39+00:00 List-Id: say the main program is calle MAIN.ADB and uses 2 packages X and Y if there is an array of records in X called A. how do i use the array A in Y ? e.g package body X is type R is record hi : string; bye : integer; end record; A : array(1..10) of R; end X; now in Y, how do i use that array ? ive tried this : package body Y is get( X.A(1).hi ); end Y; but it doesnt work, does anyone know how to do it ? thanks