comp.lang.ada
 help / color / mirror / Atom feed
From: "Warren W. Gay VE3WWG" <ve3wwg@home.com>
Subject: Re: String manupulation
Date: Wed, 22 Aug 2001 16:39:50 GMT
Date: 2001-08-22T16:39:50+00:00	[thread overview]
Message-ID: <3B83E056.B2DCC390@home.com> (raw)
In-Reply-To: 0AQg7.10582$2u.75569@www.newsranger.com

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



      parent reply	other threads:[~2001-08-22 16:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-21  7:27 String manupulation Reinert Korsnes
2001-08-21 10:52 ` Georg Bauhaus
2001-08-21 12:52 ` David C. Hoos
2001-08-21 18:04 ` Randy Brukardt
2001-08-22  8:15   ` Reinert Korsnes
2001-08-22 15:53     ` Ted Dennison
2001-08-22 16:09       ` Ted Dennison
2001-08-22 16:23       ` David C. Hoos
2001-08-22 16:45         ` Ted Dennison
2001-08-23  8:21         ` Reinert Korsnes
2001-08-23 12:46           ` David C. Hoos
2001-08-22 16:39       ` Warren W. Gay VE3WWG [this message]
replies disabled

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