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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,cf6d7cfa23391bce X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-12-17 09:16:13 PST Path: archiver1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!green.octanews.net!news.octanews.net!news-out.visi.com!petbe.visi.com!news.tele.dk!news.tele.dk!small.news.tele.dk!irazu.switch.ch!switch.ch!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail From: Martin Krischik Newsgroups: comp.lang.ada Subject: Re: Problem with visibility of generic package help please Date: Tue, 16 Dec 2003 22:00:57 +0100 Organization: AdaCL Message-ID: <1233485.RdhKAtxz5h@linux1.krischik.com> References: Reply-To: krischik@users.sourceforge.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit X-Trace: news.t-online.com 1071681240 00 1038 XO0VGEtOBd7hO9 031217 17:14:00 X-Complaints-To: usenet-abuse@t-online.de X-ID: EqOd1vZcoercufCxrcHeIcd5-ii3XuHXMkCC8NzIRfpsXrcLUj99oi User-Agent: KNode/0.7.2 Xref: archiver1.google.com comp.lang.ada:3507 Date: 2003-12-16T22:00:57+01:00 List-Id: Ute wrote: > hello, > > > with Ada.Text_IO; use Ada.Text_IO; > > with Ada.Float_Text_IO; use Ada.Float_Text_IO; > > with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; > > with Ada.Integer_Text_IO; use Ada.Integer_Text_IO; > > with generic_sort; Hind for readability: don't "use" as much. it is better to rename: package F_IO renames Ada.Float_Text_IO; package I_IO renames Ada.Integer_Text_IO; package IO renames Ada.Text_IO; That way you can see where which comand comes from. Also you avoid name clashes. With Regards Martin -- mailto://krischik@users.sourceforge.net http://www.ada.krischik.com