comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Newbie Visibility Problem TEXT_IO.INTEGER_IO
Date: 02 Jun 2004 20:48:06 +0100
Date: 2004-06-02T20:48:06+01:00	[thread overview]
Message-ID: <x7v7juppwqx.fsf@smaug.pushface.org> (raw)
In-Reply-To: o0qvc.42$Wg.3@news04.bloor.is.net.cable.rogers.com

"bm34mailing<<SPAM-SUCKS>>" <"bm34mailing<<SPAM-SUCKS>>"@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.



  reply	other threads:[~2004-06-02 19:48 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-02 19:37 Newbie Visibility Problem TEXT_IO.INTEGER_IO bm34mailing<<SPAM-SUCKS>>
2004-06-02 19:48 ` Simon Wright [this message]
2004-06-02 21:39   ` bm34mailing<<SPAM-SUCKS>>
2004-06-03  8:32     ` Martin Krischik
2004-06-03 14:47       ` bm34mailing<<SPAM-SUCKS>>
2004-06-03  7:16 ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox