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 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e5f2c12e14eeb0f5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-05-21 16:32:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!cpk-news-hub1.bbnplanet.com!news.gtei.net!newscon02.news.prodigy.com!newsmst01.news.prodigy.com!prodigy.com!postmaster.news.prodigy.com!newssvr13.news.prodigy.com.POSTED!3bae8248!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Can you use arrays from another package ? References: X-Newsreader: Tom's custom newsreader Message-ID: NNTP-Posting-Host: 64.175.240.228 X-Complaints-To: abuse@prodigy.net X-Trace: newssvr13.news.prodigy.com 1022023894 ST000 64.175.240.228 (Tue, 21 May 2002 19:31:34 EDT) NNTP-Posting-Date: Tue, 21 May 2002 19:31:34 EDT Organization: Prodigy Internet http://www.prodigy.com X-UserInfo1: SCSGGTSDZRRQBQH]]RKB_UDAZZ\DPCPDLXUNNH\KMAVNDQUBLNTC@AWZWDXZXQ[K\FFSKCVM@F_N_DOBWVWG__LG@VVOIPLIGX\\BU_B@\P\PFX\B[APHTWAHDCKJF^NHD[YJAZMCY_CWG[SX\Y]^KC\HSZRWSWKGAY_PC[BQ[BXAS\F\\@DMTLFZFUE@\VL Date: Tue, 21 May 2002 23:31:34 GMT Xref: archiver1.google.com comp.lang.ada:24488 Date: 2002-05-21T23:31:34+00:00 List-Id: > package body X is > ... > package body Y is > get( X.A(1).hi ); You can't see inside another package's body. You can only see things in its public specification part. So drop the word "body" on package X. (I assume you have a "with X;" for Y)