comp.lang.ada
 help / color / mirror / Atom feed
From: "Steve Folly" <steve@follysplace.demon.co.uk>
Subject: Re: package child question
Date: 2000/02/08
Date: 2000-02-08T00:00:00+00:00	[thread overview]
Message-ID: <950043074.13382.0.nnrp-08.c2de848f@news.demon.co.uk> (raw)
In-Reply-To: 87oi6t$jd$1@wanadoo.fr


Jean-Pierre Rosen <rosen.adalog@wanadoo.fr> wrote, among other things, in
message news:87oi6t$jd$1@wanadoo.fr...
>
> If you want to be absolutely, unambiguously sure of what you name, start
> with Standard:
> use Standard.A.B;
>
> (unless you have also redefined locally Standard, but that would *really*
be
> looking for trouble :-)
>

Just a minor point... as all packages are implicitly child packages of
Standard, you don't actually have to with Standard - just the use clause
will work.

We had a problem like this with some code at work...

package Icp_Button is
...
end Icp_Button;

package Icp_Button.Field is
...
end Icp_Button.Field;


package Field is
...
end Field;


Any reference to the package Field in Icp_Button.Field has to be qualified
with Standard.
OK, maybe the names of the packages were badly chosen, but we wont argue
about that....



--
Regards,
Steve Folly.
http://www.follysplace.demon.co.uk
donationsto:myaccount@mybank.co.uk






  reply	other threads:[~2000-02-08  0:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-07  0:00 package child question Georg Bauhaus
2000-02-07  0:00 ` Jean-Pierre Rosen
2000-02-08  0:00   ` Steve Folly [this message]
2000-02-09  0:00     ` Jean-Pierre Rosen
2000-02-09  0:00       ` Georg Bauhaus
2000-02-09  0:00       ` Robert A Duff
2000-02-10  0:00         ` Ehud Lamm
2000-02-09  0:00           ` Marin D. Condic
2000-02-10  0:00             ` Larry Kilgallen
2000-02-10  0:00               ` Pascal Obry
2000-02-11  0:00       ` Steve Folly
2000-02-08  0:00 ` Matthew Heaney
  -- strict thread matches above, loose matches on Subject: below --
2000-02-08  0:00 Christoph Grein
replies disabled

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