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,6272d92210bcf363 X-Google-Attributes: gid103376,public From: "Frank J. Lhota" Subject: Re: Package Problem Date: 1999/10/27 Message-ID: <7v8edo$4l1$1@autumn.news.rcn.net>#1/1 X-Deja-AN: 541475260 References: <7v7sjp$8q61@news.cis.okstate.edu> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 X-Complaints-To: abuse@rcn.com X-Trace: b5I0IEXoWnpUpYoeByHagRoVndE8WwaL3ez7j6KrSYA= X-MSMail-Priority: Normal NNTP-Posting-Date: 28 Oct 1999 03:03:20 GMT Newsgroups: comp.lang.ada Date: 1999-10-28T03:03:20+00:00 List-Id: The problem is with the "with" clause with large_integer_handler.variable_length_operations; This clause implies that there is a library unit named large_integer_handler.variable_length_operations, which is not the case. Just cut the "with" clause and move the "use" clause to the declarative part. David Starner wrote in message news:7v7sjp$8q61@news.cis.okstate.edu... > I've got a problem with nested packages. I'm using Mat Webb's Components, > which has a generic package in it, with a package inside, like: > > generic > ... > package large_integer is > ... > package Variable_Length_Operations > ... > private > ... > end package > > and a package, large_integer_handler, which just instatates large_integer > with reasonable values. > > In my program, I have > with large_integer_handler; use large_integer_handler; > with large_integer_handler.variable_length_operations; > use large_integer_handler.variable_length_operations; > > But that doesn't work. GNAT complains about not finding > large_integer_handler-variable_length_operations.ads. How do I access that > inner package? > > -- > David Starner - dstarner98@aasaa.ofe.org