comp.lang.ada
 help / color / mirror / Atom feed
From: "Randy Brukardt" <randy@rrsoftware.com>
Subject: Re: Ceate a set (type?) of list of integers that varies at run time
Date: Sat, 27 Jan 2018 01:20:00 -0600
Date: 2018-01-27T01:20:00-06:00	[thread overview]
Message-ID: <p4h971$d4c$1@franka.jacob-sparre.dk> (raw)
In-Reply-To: d49808d6-8717-4a3e-ae09-c4b12eb787a5@googlegroups.com

"Mace Ayres" <mace.ayres@gmail.com> wrote in message 
news:d49808d6-8717-4a3e-ae09-c4b12eb787a5@googlegroups.com...
...
>Can I have a range that is not a continuous series of integers, NOT 1..9 
>but 1,2,5,6,7,9
>and then some different subset of 1..9 the next time. Recalculating a new 
>set
> Columns_to_check for each outer loop of rows?

You can use a static predicate to define a subtype with such a set, and then 
iterate over it.

However, as the name implies, you can't define such a set at runtime; you 
have to do that with conditionals.

                         Randy.


 


  reply	other threads:[~2018-01-27  7:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-26 23:58 Ceate a set (type?) of list of integers that varies at run time Mace Ayres
2018-01-27  7:20 ` Randy Brukardt [this message]
2018-01-27 18:56 ` Jeffrey R. Carter
replies disabled

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