From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Array conversion and bounds
Date: Sun, 15 Apr 2018 22:15:26 +0200
Date: 2018-04-15T22:15:26+02:00 [thread overview]
Message-ID: <pb0bss$p1e$2@gioia.aioe.org> (raw)
In-Reply-To: wcc1sfg2w36.fsf@TheWorld.com
On 2018-04-15 19:55, Robert A Duff wrote:
> "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de> writes:
>
>> type B is array (Unsigned_32 range <>) of Whatever;
>
> An unconstrained array with modular index type is
> asking for trouble.
No matter, take these two instead:
type A is array (Integer_16 range <>) of Whatever;
type B is array (Integer_8 range <>) of Whatever;
Y (1..10) := B (X (1001..1010));
--
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de
prev parent reply other threads:[~2018-04-15 20:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-15 9:36 Array conversion and bounds Dmitry A. Kazakov
2018-04-15 10:37 ` Niklas Holsti
2018-04-15 12:34 ` Dmitry A. Kazakov
2018-04-15 13:11 ` Niklas Holsti
2018-04-15 13:24 ` Dmitry A. Kazakov
2018-04-15 18:21 ` Niklas Holsti
2018-04-15 20:29 ` Dmitry A. Kazakov
2018-04-15 17:55 ` Robert A Duff
2018-04-15 20:15 ` Dmitry A. Kazakov [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