comp.lang.ada
 help / color / mirror / Atom feed
From: Mace Ayres <mace.ayres@gmail.com>
Subject: Re: Arrays, slices, case, and ‘in’ strategies
Date: Sat, 30 Dec 2017 09:30:00 -0800 (PST)
Date: 2017-12-30T09:30:00-08:00	[thread overview]
Message-ID: <cb62ee39-b65f-4362-9884-5bcbfad889a9@googlegroups.com> (raw)
In-Reply-To: <87fu7s8vha.fsf@jacob-sparre.dk>

Jacob, 3 iterations may be answer. My Ada mind is limited to Array indices being limited to the dimensionality of the array. 1 D array has 1 index. 2 D array has 2 indices.

Forgot to mention that I have a 1 D array of the 2 D grid array, netting a 3 D array effect, but as an array of arrays, rather than a single 3 D array. My 1 D array of the 2 D grid
array is called layer. So I have 10 layers (1 each for each of the 9 digits, that will show only 1 of the digits) and then 1 10th layer to show all entries.

This array of array rather than a single 3 D array, an early disign decision. I also thought of just a linked list with access types, but choose this array approach for initial attempt.


  parent reply	other threads:[~2017-12-30 17:30 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-30  0:51 Arrays, slices, case, and ‘in’ strategies Mace Ayres
2017-12-30  8:34 ` Jacob Sparre Andersen
2017-12-30 17:20   ` Mace Ayres
2017-12-30 17:30   ` Mace Ayres [this message]
2017-12-30  9:58 ` Jeffrey R. Carter
2017-12-30 17:32   ` Mace Ayres
2017-12-30 10:55 ` Simon Wright
2017-12-30 17:12   ` Mace Ayres
2017-12-30 17:41   ` Simon Wright
2017-12-30 23:52     ` Mace Ayres
2017-12-31  9:09       ` Simon Wright
2017-12-31 20:14 ` Robert Eachus
replies disabled

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