comp.lang.ada
 help / color / mirror / Atom feed
From: Pascal Obry <pascal@obry.net>
Subject: Re: reverse Integer'image(someString);
Date: 25 Apr 2005 20:39:14 +0200
Date: 2005-04-25T20:39:15+02:00	[thread overview]
Message-ID: <uoec2lmzx.fsf@obry.net> (raw)
In-Reply-To: mailman.72.1114451464.24457.comp.lang.ada@ada-france.org


Bj�rn Lundin <bnl@spray.se> writes:

> My compiler also says it is required (Alsys Ada on Aix)
> I think this actually was a constraint in Ada 83 but removed in Ada 95

I see, it is not "constant" that is required. The problem was that Ada 83 was
not able to initialized unconstraint objects like strings.

There was 2 solutions:

   Str : constant String := "...";

or

   Str : String (1 .. 3) := "...";

Pascal.

-- 

--|------------------------------------------------------
--| Pascal Obry                           Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--|              http://www.obry.net
--| "The best way to travel is by means of imagination"
--|
--| gpg --keyserver wwwkeys.pgp.net --recv-key C1082595



  reply	other threads:[~2005-04-25 18:39 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 [this message]
2005-04-25 19:43               ` Björn Lundin
2005-04-26  8:41                 ` Jean-Pierre Rosen
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