comp.lang.ada
 help / color / mirror / Atom feed
* Indexing unconstrained arrays
@ 2009-08-30  4:43 Rick
  2009-08-30  8:39 ` Pascal Obry
  2009-08-31 15:29 ` Adam Beneschan
  0 siblings, 2 replies; 3+ messages in thread
From: Rick @ 2009-08-30  4:43 UTC (permalink / raw)


If I have an unconstrained array progressively built from a NULL array

My_Array : Unconstrained_Array_Type (1 .. 0);

to an array of five cells, it should be indexed 1 .. 5.  Suppose then
that I remove cell My_Array (3) by a bit of slicing and splicing.

Does the indexing of the four-cell array that is left run

1 - 2 - 3 - 4

or does it run

1 - 2 - 4 - 5 ?

--------------------------------------------
Rick Duley
North Perth,
Western Australia
http://rickduley.webs.com
--------------------------------------------



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-08-31 15:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-30  4:43 Indexing unconstrained arrays Rick
2009-08-30  8:39 ` Pascal Obry
2009-08-31 15:29 ` Adam Beneschan

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