From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!gandalf.srv.welterde.de!news.jacob-sparre.dk!franka.jacob-sparre.dk!pnx.dk!.POSTED.rrsoftware.com!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: Ceate a set (type?) of list of integers that varies at run time Date: Sat, 27 Jan 2018 01:20:00 -0600 Organization: JSA Research & Innovation Message-ID: References: Injection-Date: Sat, 27 Jan 2018 07:20:01 -0000 (UTC) Injection-Info: franka.jacob-sparre.dk; posting-host="rrsoftware.com:24.196.82.226"; logging-data="13452"; mail-complaints-to="news@jacob-sparre.dk" X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 Xref: reader02.eternal-september.org comp.lang.ada:50177 Date: 2018-01-27T01:20:00-06:00 List-Id: "Mace Ayres" 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.