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 X-Google-Thread: 103376,a85dd10bdbdb69d4 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-12-10 05:53:32 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!uio.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Giving a package specification access to the private types of another package Date: Tue, 10 Dec 2002 13:53:31 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0152.chembio.ntnu.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: tyfon.itea.ntnu.no 1039528411 26741 129.241.83.78 (10 Dec 2002 13:53:31 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Tue, 10 Dec 2002 13:53:31 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.lang.ada:31630 Date: 2002-12-10T13:53:31+00:00 List-Id: Steven Murdoch wrote: > I would like to use a package A from within another package B, however > the specification of A uses types that are declared in the private part > of package B. I could solve this by inserting the contents of the package > A in B, but is there another way with which I can keep the two files > separate (so as to improve clarity). make A a child package of B B.A -- Preben Randhol ------------------------ http://www.pvv.org/~randhol/ -- �1984 is soon coming to a computer near you.�