From: Martin Krischik <krischik@users.sourceforge.net>
Subject: Re: How to extract range from array
Date: Tue, 21 Mar 2006 20:12:57 +0100
Date: 2006-03-21T20:12:57+01:00 [thread overview]
Message-ID: <1342443.ZeVnZ31USl@linux1.krischik.com> (raw)
In-Reply-To: 9tFTf.874590$xm3.360574@attbi_s21
Jeffrey R. Carter wrote:
> Martin Krischik wrote:
>>
>> subtype Positive is Integer range 1 .. +(2 ** 31 - 1);
>
> The declaration of Positive is defined by ARM A.1, and so is the same for
> all implementations:
>
> subtype Positive is Integer range 1 .. Integer'Last;
>
> An implementation that used +(2 ** 31 - 1) instead of Integer'Last would
> not be Ada.
No it's GNAT ;-) .
Martin
--
mailto://krischik@users.sourceforge.net
Ada programming at: http://ada.krischik.com
prev parent reply other threads:[~2006-03-21 19:12 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-17 11:23 How to extract range from array Maciej Sobczak
2006-03-17 12:29 ` Ed Falis
2006-03-17 15:12 ` Martin Krischik
2006-03-20 10:04 ` Maciej Sobczak
2006-03-20 13:14 ` Maciej Sobczak
2006-03-20 13:58 ` Ed Falis
2006-03-20 14:20 ` Dmitry A. Kazakov
2006-03-20 15:31 ` Robert A Duff
2006-03-20 19:01 ` Martin Krischik
2006-03-20 20:20 ` Georg Bauhaus
2006-03-20 21:51 ` Jeffrey R. Carter
2006-03-21 19:12 ` Martin Krischik [this message]
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox