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=0.2 required=5.0 tests=BAYES_00,INVALID_MSGID, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,6cb2525ffbfe23ce,start X-Google-Attributes: gid103376,public From: Mike Silva Subject: Why both "with" and "use"? Date: 1999/02/13 Message-ID: <36C5B28C.F32C43A4@jps.net>#1/1 X-Deja-AN: 444013153 X-NNTP-Posting-Host: 209.63.224.240 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-Trace: 13 Feb 1999 17:33:09 -0800, 209.239.194.168 MIME-Version: 1.0 Reply-To: mjsilva@jps.net Newsgroups: comp.lang.ada Date: 1999-02-13T00:00:00+00:00 List-Id: Somebody on comp.lang.fortran noticed these two lines in an Ada snippet and questioned why both lines were needed (vs. only USE in Fortran). >with Ada.Numerics.Elementary_Functions; >use Ada.Numerics.Elementary_Functions; I, with two whole weeks of Ada experience, understand the difference (sorta) but don't really understand the rationale. Would anybody care to explain the why of it? Thanks. Mike