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, MSGID_RANDY autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,84b1828b2b26fc4f X-Google-Attributes: gid103376,public From: dmitry6243@my-deja.com Subject: Re: Common ancestor (visibility rules) Date: 2000/03/31 Message-ID: <8c1qsl$6jh$1@nnrp1.deja.com>#1/1 X-Deja-AN: 604713566 References: <8bprin$a37$1@nnrp1.deja.com> <8bq726$lo8$1@nnrp1.deja.com> <8bsgpf$96f$1@nnrp1.deja.com> <8bskgp$ctu$1@nnrp1.deja.com> <8bt42b$tfe$1@nnrp1.deja.com> <8bu64t$60h$1@nnrp1.deja.com> <8bvjo3$n1k$1@nnrp1.deja.com> <38E3B8B8.55305DCB@averstar.com> X-Http-Proxy: 1.0 x27.deja.com:80 (Squid/1.1.22) for client 212.79.192.251 Organization: Deja.com - Before you buy. X-Article-Creation-Date: Fri Mar 31 09:24:46 2000 GMT X-MyDeja-Info: XMYDJUIDdmitry6243 Newsgroups: comp.lang.ada X-Http-User-Agent: Mozilla/4.72 [en] (WinNT; I) Date: 2000-03-31T00:00:00+00:00 List-Id: In article <38E3B8B8.55305DCB@averstar.com>, Tucker Taft wrote: > In any case, the basic rule is that *all* names used in a context > clause must be "full" expanded names, but *omitting* the > "Standard." part. No hiding can happen, since only full names > are allowed, all of which start at the same point in the name space > (immediately within package Standard). In fact, "with Standard.A;" would > be interpreted as requesting that the library unit whose > name-from-the-very-root is Standard.Standard.A be made visible. > > Once you get inside a compilation unit, the rules are different, > and full expanded names are not required, though they may be > used to overcome name hiding. And names-from-the-very-root (i.e. > those that start with Standard) may also be used. But as mentioned > above, such names may *not* be used in context clauses. Thank you. It is crystal clear now. A bit confusing that in different places one should use different names, but I understand the drawbacks of the alternative of obligatory specifying the "Standard." prefix in WITH and USE. > There is a publically available ALRM on various web sites, including: > > http://www.adaic.org/standards/ada95.html Just downloaded it (:-)) Thanks a lot. Regards, Dmitry Kazakov Sent via Deja.com http://www.deja.com/ Before you buy.