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-22 08:41:31 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!colt.net!newspeer.clara.net!news.clara.net!peer.news.eu-x.com!server2.netnews.ja.net!newshost.central.susx.ac.uk!news.bton.ac.uk!not-for-mail From: "Jon" Newsgroups: comp.lang.ada Subject: Re: Can you use arrays from another package ? Date: Wed, 22 May 2002 16:16:35 +0100 Organization: University of Brighton Message-ID: References: <5ee5b646.0205211752.4909a72a@posting.google.com> NNTP-Posting-Host: dhcp-vah188.admin.bton.ac.uk X-Trace: saturn.bton.ac.uk 1022080512 17964 193.62.188.188 (22 May 2002 15:15:12 GMT) X-Complaints-To: news@bton.ac.uk NNTP-Posting-Date: 22 May 2002 15:15:12 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:24527 Date: 2002-05-22T15:15:12+00:00 List-Id: i know the rules of not doing peoples homework :) but yeah it is an assignement, but that is not a question i was asked to fo, its something i need to know to help my assignment. "Preben Randhol" wrote in message news:slrnaen45p.2jh.randhol+abuse@kiuk0156.chembio.ntnu.no... > On Wed, 22 May 2002 13:11:03 +0100, Jon wrote: > > if i try that program i keep getting > > > > "A" no declared in "X" > > > > > > so you are saying instead of declaring the type in package body X, i should > > declare it public in the package spec X ? > > No you should declare it private in the package spec and then use a > function/procedure to get it. > > Is this an assignment? > > Preben