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,a236155f75e58a6d X-Google-Attributes: gid103376,public From: Jean-Pierre Rosen Subject: Re: Visibility of packages in child bodies... Date: 1996/04/17 Message-ID: <199604171601.SAA22336@email.enst.fr>#1/1 X-Deja-AN: 148004557 sender: Ada programming language x-sender: rosen@email.enst.fr comments: Gated by NETNEWS@AUVM.AMERICAN.EDU content-type: text/plain; charset="us-ascii" mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Windows Eudora Light Version 1.5.2 Date: 1996-04-17T00:00:00+00:00 List-Id: At 05:17 17/04/1996 GMT, you wrote: >If a series of library packages are created as... > > package useful is... > > package a is... > > package a.useful is... > >then in the package body of a.useful is it possible to >refer to package "useful" without using a library level renaming? > >e.g. in the following... > > with useful; > > package body a.useful is... > >package "useful" is not directly visible. > > with Standard.Useful; should do the trick. All library packages are children of Standard. +------------------------------------o-------------------------------------+ | P-mail: | E-mail: rosen@enst.fr | | ADALOG - 27 avenue de Verdun | Tel: +33 1 46 45 51 12 | | 92170 Vanves - FRANCE | Fax: +33 1 46 45 52 49 | +------------------------------------o-------------------------------------+