From: Jean-Pierre Rosen <rosen@adalog.fr>
Subject: Re: reverse Integer'image(someString);
Date: Tue, 26 Apr 2005 10:41:35 +0200
Date: 2005-04-26T10:41:35+02:00 [thread overview]
Message-ID: <uruk4d.blu.ln@hunter.axlog.fr> (raw)
In-Reply-To: <mailman.73.1114458255.24457.comp.lang.ada@ada-france.org>
Bj�rn Lundin a �crit :
>> There was 2 solutions:
>>
>> Str : constant String := "...";
>>
>> or
>>
>> Str : String (1 .. 3) := "...";
>>
And the work-around was:
Const_Str : constant String := "...";
Str : String (Const_Str'Range) := Const_Str;
So the feature was, in fact, actually available.
I think the authors of Ada83 thought that they should avoid having to
declare the bounds for:
Mess: constant String (1..7) := "Message";
and didn't realize it was useful for variables too.
--
---------------------------------------------------------
J-P. Rosen (rosen@adalog.fr)
Visit Adalog's web site at http://www.adalog.fr
next prev parent reply other threads:[~2005-04-26 8:41 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-23 19:59 reverse Integer'image(someString); Doker
2005-04-25 9:16 ` Adrien Plisson
2005-04-25 11:10 ` Jeff C
2005-04-25 11:40 ` David C. Hoos, Sr.
2005-04-25 11:50 ` Larry Kilgallen
2005-04-25 17:13 ` Pascal Obry
2005-04-25 17:50 ` Björn Lundin
2005-04-25 18:39 ` Pascal Obry
2005-04-25 19:43 ` Björn Lundin
2005-04-26 8:41 ` Jean-Pierre Rosen [this message]
2005-04-26 4:12 ` Wes Groleau
2005-04-27 4:43 ` Jeffrey Carter
2005-04-25 17:38 ` Frank J. Lhota
2005-04-25 17:14 ` Pascal Obry
2005-04-26 1:53 ` Jeffrey Carter
2005-04-28 20:31 ` Simon Wright
2005-04-25 9:18 ` Martin Krischik
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox