comp.lang.ada
 help / color / mirror / Atom feed
From: Jean-Pierre Rosen <rosen@EMAIL.ENST.FR>
Subject: Re: Visibility of packages in child bodies...
Date: 1996/04/17
Date: 1996-04-17T00:00:00+00:00	[thread overview]
Message-ID: <199604171601.SAA22336@email.enst.fr> (raw)

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-------------------------------------+




             reply	other threads:[~1996-04-17  0:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-04-17  0:00 Jean-Pierre Rosen [this message]
  -- strict thread matches above, loose matches on Subject: below --
1996-04-17  0:00 Visibility of packages in child bodies Dale Stanbrough
1996-04-17  0:00 ` Serge Rybin
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox