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.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,60e2922351e0e780 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-06 12:12:29 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!feed.news.nacamar.de!news.belwue.de!irazu.switch.ch!switch.ch!news.hispeed.ch!not-for-mail From: Gautier Write-only Newsgroups: comp.lang.ada Subject: Re: Clause "with and use" Date: Thu, 06 Nov 2003 21:12:21 +0100 Organization: Cablecom Newsserver Message-ID: <3FAAAB25.E503D3A6@fakeaddress.nil> References: <3FA2CDCB.500F4AF0@fakeaddress.nil> <1tbcqv03boka8k4dirujrrfbepc2cbvscu@4ax.com> NNTP-Posting-Host: dclient80-218-90-97.hispeed.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: newshispeed.ch 1068149547 21788 80.218.90.97 (6 Nov 2003 20:12:27 GMT) X-Complaints-To: news@hispeed.ch NNTP-Posting-Date: Thu, 6 Nov 2003 20:12:27 +0000 (UTC) X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:2168 Date: 2003-11-06T21:12:21+01:00 List-Id: > Dmitry A. Kazakov wrote: > > >use A.B.C.D; > > > >implies: > > > >with A.B.C.D; > > > >It was rejected. Does anybody remember why? Vinzent 'Gadget' Hoefler: > I don't know if this was the reason, but AFAICS you can't "with" a > package inbetween a body, but you can locally *use* a package in a > declare block: > > |declare > | use P; > | ... > > So this sort of use would at least require a with-declaration in the > beginning of the package. CMIIW, but all the "with"s in the beginning > just declare package "dependencies", nothing more. Right, but we are discussing explicitely ;-) about "use" as a context clause (before any unit), not the "use" as a declaration. ________________________________________________________ Gautier -- http://www.mysunrise.ch/users/gdm/gsoft.htm NB: For a direct answer, e-mail address on the Web site!