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,fff7eeabc7a7bc9c X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-22 09:39:51 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!paloalto-snf1.gtei.net!news.gtei.net!enews.sgi.com!news-peer-west.sprintlink.net!news.sprintlink.net!newsfeed.direct.ca!look.ca!news1.tor.metronet.ca!nnrp1.tor.metronet.ca!not-for-mail Message-ID: <3B83E056.B2DCC390@home.com> From: "Warren W. Gay VE3WWG" X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: String manupulation References: <9lt2pe$lrm$1@snipp.uninett.no> <9lu7r2$3vp$1@news.online-isp.com> <9lvq0p$cpm$1@snipp.uninett.no> <0AQg7.10582$2u.75569@www.newsranger.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Wed, 22 Aug 2001 16:39:50 GMT NNTP-Posting-Host: 198.96.47.195 NNTP-Posting-Date: Wed, 22 Aug 2001 10:39:50 MDT Organization: MetroNet Communications Group Inc. Xref: archiver1.google.com comp.lang.ada:12255 Date: 2001-08-22T16:39:50+00:00 List-Id: Ted Dennison wrote: > In article <9lvq0p$cpm$1@snipp.uninett.no>, Reinert Korsnes says... > > > >Thanks to all of you. Is this the (dirty ?) way to do it (?) : > > Some style comments: > o (Contraversial) I prefer to aviod the "use" clause. I agree heartily with this in general. However, I find that as a compromise to this, that using a "use" clause in the block of code where you need it (declare/procedure/function level) can be most helpful at times, if you don't over do it. For example, I'll often use: declare use Ada.Text_IO; begin ... Put_Line("..."); end; This works reasonably well because the use clause is close to the code that you are reading. Just my $0.02 worth. -- Warren W. Gay VE3WWG http://members.home.net/ve3wwg