comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: "too few element" in an unconstrained array, given as litteral ?
Date: Sat, 20 Jan 2018 18:15:07 +0200
Date: 2018-01-20T18:15:07+02:00	[thread overview]
Message-ID: <fch88cF57s6U1@mid.individual.net> (raw)
In-Reply-To: <e72ad079-5d9a-49ea-8e40-bd1079ea9bab@googlegroups.com>

On 18-01-20 15:21 , Mehdi Saada wrote:
> That's what I confused then ! How do I say then, "between A and C elements" ? That what's I intended.
> I suppose I need to define another subtype before the array,
> subtype T_Indice is T_Degre range then 1..T_Degre'Last, to convey what I want.

Yep. And then define the array as ... array (T_Indice range <>) of ...

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .

  reply	other threads:[~2018-01-20 16:15 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-20 10:55 "too few element" in an unconstrained array, given as litteral ? Mehdi Saada
2018-01-20 12:28 ` Niklas Holsti
2018-01-20 13:21   ` Mehdi Saada
2018-01-20 16:15     ` Niklas Holsti [this message]
2018-01-20 16:52       ` Mehdi Saada
2018-01-20 21:27         ` Niklas Holsti
2018-01-20 17:48 ` Why in (array) aggregate, no more component allowed after a dynamic choice ? Mehdi Saada
2018-01-23  0:57   ` Randy Brukardt
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox