comp.lang.ada
 help / color / mirror / Atom feed
From: "Jeffrey R. Carter" <spam.jrcarter.not@spam.acm.org>
Subject: Re: Ada Recursion with strings
Date: Wed, 01 Oct 2008 11:34:22 GMT
Date: 2008-10-01T11:34:22+00:00	[thread overview]
Message-ID: <2fJEk.367687$yE1.299201@attbi_s21> (raw)
In-Reply-To: <wccljx9yv1y.fsf@shell01.TheWorld.com>

Robert A Duff wrote:
> 
> Do you really think that's useful in this case, where 2**8
> appears several times close together?  What would you call
> that named number -- Two_To_The_Eighth?

I'd probably do

Bits_Per_Byte   : constant := 8;
Values_Per_Byte : constant := 2 ** Bits_Per_Byte;

-- 
Jeff Carter
"Brave Sir Robin ran away."
Monty Python and the Holy Grail
59



  reply	other threads:[~2008-10-01 11:34 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-30 20:30 Ada Recursion with strings Joe
2008-09-30 22:24 ` Adam Beneschan
2008-09-30 22:24 ` Jeffrey R. Carter
2008-10-01  0:13   ` Joe
2008-10-01  0:27     ` Jeffrey R. Carter
2008-10-01  1:15       ` Robert A Duff
2008-10-01 11:34         ` Jeffrey R. Carter [this message]
2008-10-01 14:29           ` Adam Beneschan
2008-10-01 15:18             ` Jean-Pierre Rosen
2008-10-01 16:47               ` Georg Bauhaus
2008-10-02  7:24               ` Niklas Holsti
2008-10-02  8:18                 ` Ludovic Brenta
2008-10-03  6:54             ` Maciej Sobczak
2008-10-03  7:38               ` Jean-Pierre Rosen
2008-10-03  9:06               ` Dmitry A. Kazakov
2008-10-01  0:28     ` Adam Beneschan
2008-10-01  9:48       ` Georg Bauhaus
2008-10-01 10:22         ` Dmitry A. Kazakov
2008-10-01  3:01 ` anon
replies disabled

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