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,32e5f5710e731d24 X-Google-Attributes: gid103376,public Path: controlnews3.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!newsfeed.gamma.ru!Gamma.RU!newsfeed.icl.net!newsfeed.fjserv.net!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Newbie Visibility Problem TEXT_IO.INTEGER_IO Date: 02 Jun 2004 20:48:06 +0100 Organization: Pushface Sender: simon@smaug.pushface.org Message-ID: References: NNTP-Posting-Host: pogner.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: news.demon.co.uk 1086205967 12937 62.49.19.209 (2 Jun 2004 19:52:47 GMT) X-Complaints-To: abuse@demon.net NNTP-Posting-Date: Wed, 2 Jun 2004 19:52:47 +0000 (UTC) User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Xref: controlnews3.google.com comp.lang.ada:1036 Date: 2004-06-02T20:48:06+01:00 List-Id: "bm34mailing<>" <"bm34mailing<>"@yahoo.ca> writes: > with Ada.Text_IO; > use Ada.Text_Io; > > so I believe Text_io should be visible. Well, no, that use makes the contents of text_io visible, not the thing itself. You could try just "use Ada;" or the following .. (I haven't tried it, too much grief retyping :-) 0007 with ADA.TEXT_IO; 0008 use ADA.TEXT_IO; <<<<<<<<< remove this line 0009 0010 procedure MostUltimateAnswer is 0011 package Text_IO renames Ada.Text_IO; 0012 package IntIo is new TEXT_IO.INTEGER_IO( INTEGER ); 0013 use IntIO; -- Simon Wright 100% Ada, no bugs.