comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Getting valid Integer values !!
Date: 22 Oct 2003 20:27:44 +0100
Date: 2003-10-22T20:27:44+01:00	[thread overview]
Message-ID: <x7v65iht6mn.fsf@smaug.pushface.org> (raw)
In-Reply-To: a4nlb.201306$%h1.199852@sccrnsc02

"Jeff C," <nolongersafeto@userealemailsniff.com> writes:

> I do agree that if you can reasonable initialize the variable to the
> value that makes sense for its intended use at time of declaration
> that you have done a very good thing. But just initializing to some
> fixed "in range" value is of marginal use.

I completely agree.

And, if possible, make the variable constant .. (GNAT now warns if you
don't but you could).

-- 
Simon Wright                               100% Ada, no bugs.



  reply	other threads:[~2003-10-22 19:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.161.1066792253.25614.comp.lang.ada@ada-france.org>
2003-10-22  3:46 ` Getting valid Integer values !! Jeff C,
2003-10-22 19:27   ` Simon Wright [this message]
2003-10-21 20:34 Beard, Frank Randolph CIV
2003-10-21 21:34 ` CheGueVerra
2003-10-21 21:36 ` CheGueVerra
  -- strict thread matches above, loose matches on Subject: below --
2003-10-21 19:11 CheGueVerra
2003-10-21 20:15 ` Martin Dowie
2003-10-21 20:27   ` CheGueVerra
2003-10-21 23:04     ` Martin Dowie
2003-10-21 23:35       ` CheGueVerra
2003-10-22  2:49         ` Steve
2003-10-22  0:46     ` Jeffrey Carter
2003-10-22  1:07       ` CheGueVerra
replies disabled

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