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 X-Google-Thread: 103376,6cb2525ffbfe23ce X-Google-Attributes: gid103376,public From: "Jean-Pierre Rosen" Subject: Re: Why both "with" and "use"? Date: 1999/02/15 Message-ID: <7a8vvf$gig$2@platane.wanadoo.fr>#1/1 X-Deja-AN: 444536886 Content-Transfer-Encoding: 8bit References: <36C5B28C.F32C43A4@jps.net> <7a4f85$rh1$1@remarQ.com> <7a4j3h$64e@drn.newsguy.com> Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2120.0 Organization: Adalog Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-02-15T00:00:00+00:00 List-Id: bill a �crit dans le message <7a4j3h$64e@drn.newsguy.com>... >In article <7a4f85$rh1$1@remarQ.com>, "Pat says... >> > >..good stuff snipped.. > >thanks for the nice review. > >Just to compare this to Java, in Java, almost everyone does something >like this: > >import package_name;* > >this imports, and at the same time, makes visible all class in package >and all public entities in all classes. > Nope. Import is equivalent to a "use" clause (makes directly visible), but is in no way required to get accessibility. You can use anything without any "import" if you use expanded names. (which implies that it is almost impossible to know which modules are required by a given module). --------------------------------------------------------- J-P. Rosen (Rosen.Adalog@wanadoo.fr) Visit Adalog's web site at http://perso.wanadoo.fr/adalog