From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9e91bd3f3ee80c47 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII Path: g2news1.google.com!news1.google.com!proxad.net!193.252.118.146.MISMATCH!news.wanadoo.fr!news.wanadoo.fr!not-for-mail Sender: obry@PASCAL Newsgroups: comp.lang.ada Subject: Re: reverse Integer'image(someString); References: <426cb55e$0$30475$ba620e4c@news.skynet.be> From: Pascal Obry Date: 25 Apr 2005 20:39:14 +0200 Message-ID: Organization: Home - http://www.obry.net User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit NNTP-Posting-Date: 25 Apr 2005 20:39:15 CEST NNTP-Posting-Host: 82.120.31.7 X-Trace: 1114454355 news.wanadoo.fr 11724 82.120.31.7:2521 X-Complaints-To: abuse@wanadoo.fr Xref: g2news1.google.com comp.lang.ada:10699 Date: 2005-04-25T20:39:15+02:00 List-Id: Bj�rn Lundin 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