From: "Ed Falis" <falis@verizon.net>
Subject: Re: How to extract range from array
Date: Mon, 20 Mar 2006 13:58:31 GMT
Date: 2006-03-20T13:58:31+00:00 [thread overview]
Message-ID: <op.s6ps3sa55afhvo@dogen> (raw)
In-Reply-To: dvm9rt$i6a$1@sunnews.cern.ch
On Mon, 20 Mar 2006 08:14:37 -0500, Maciej Sobczak <no.spam@no.spam.com>
wrote:
> subtype My_Range is Integer range My_Array'Range;
>
> This suggests that arrays cannot have more elements than Integer'Last.
> Which cannot be true.
>
> What am I missing?
That the above was an example. You could also do:
subtype My_Range is Interfaces.Integer_64 range My_Array'Range;
subtype My_Range is Interfaces.Unsigned_64 range My_Array'Range;
or any other integer or modular type that is used to define the index of
My_Array.
- Ed
next prev parent reply other threads:[~2006-03-20 13:58 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 [this message]
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
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox