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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.107.143.138 with SMTP id r132mr497367iod.51.1505371654292; Wed, 13 Sep 2017 23:47:34 -0700 (PDT) X-Received: by 10.36.17.11 with SMTP id 11mr54861itf.3.1505371654229; Wed, 13 Sep 2017 23:47:34 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!o200no213702itg.0!news-out.google.com!p6ni502itp.0!nntp.google.com!o200no213701itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Wed, 13 Sep 2017 23:47:33 -0700 (PDT) In-Reply-To: <13b1d13e-38e5-44b7-9a79-e9b5cbb56b88@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:645:c001:2a91:f0aa:544a:62b8:1941; posting-account=fxr6CwoAAABjARAbZ01okNaxDpxQT8RH NNTP-Posting-Host: 2601:645:c001:2a91:f0aa:544a:62b8:1941 References: <4776d346-325b-4685-8ff4-ddb4ff6e08e3@googlegroups.com> <13b1d13e-38e5-44b7-9a79-e9b5cbb56b88@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <847e4b1a-cb99-47fc-94b0-3ae61a07536e@googlegroups.com> Subject: Re: use Ada.Text_IO in main() or Package? From: Mace Ayres Injection-Date: Thu, 14 Sep 2017 06:47:34 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Body-CRC: 1729841976 X-Received-Bytes: 1625 Xref: news.eternal-september.org comp.lang.ada:48122 Date: 2017-09-13T23:47:33-07:00 List-Id: Thanks Gautier: So, the with and use Ada.Text_IO in the Main() function, is not visible inside the package that is also with and used in main(). I have to put the with and use Ada.Text_IO again in the package, because it calls some of ...text_IO functions within the package body?