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-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103376,e38b3d31f83372db
X-Google-Attributes: gid103376,public
X-Google-ArrivalTime: 2001-05-30 00:19:15 PST
Path:
archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!opentransit.net!wanadoo.fr!not-for-mail
From: Pascal Obry
Newsgroups: comp.lang.ada
Subject: Re: Natural to String without space? (newbie question)
Date: 30 May 2001 09:19:07 +0200
Organization: Home - http://perso.wanadoo.fr/pascal.obry
Message-ID:
References: <3B0BD493.5ABBA12B@labe.felk.cvut.cz>
<3B140ECD.A486A578@ftw.rsc.raytheon.com>
NNTP-Posting-Host: mix-velizy-106-3-142.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Trace: wanadoo.fr 991207152 25016 193.249.122.142 (30 May 2001 07:19:12 GMT)
X-Complaints-To: abuse@wanadoo.fr
NNTP-Posting-Date: 30 May 2001 07:19:12 GMT
User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.103
Xref: archiver1.google.com comp.lang.ada:7863
Date: 2001-05-30T07:19:12+00:00
List-Id:
Wes Groleau writes:
> > function Image (N : in Natural) return String is
> > N_Image : constant String := Natural'Image (N);
> > begin
> > return N_Image (2 .. N_Image'Last);
> > end Image;
>
>
> Call me obsessive, but I feel safer with
Yes, since I think that N_Image will always start at 1 :)
But I tend to be obsessive in some case too so I understand your point :)
Pascal.
--
--|------------------------------------------------------
--| Pascal Obry Team-Ada Member
--| 45, rue Gabriel Peri - 78114 Magny Les Hameaux FRANCE
--|------------------------------------------------------
--| http://perso.wanadoo.fr/pascal.obry
--|
--| "The best way to travel is by means of imagination"