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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.36.224.204 with SMTP id c195mr27440593ith.55.1514653966393; Sat, 30 Dec 2017 09:12:46 -0800 (PST) X-Received: by 10.157.90.22 with SMTP id v22mr1550696oth.12.1514653966226; Sat, 30 Dec 2017 09:12:46 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.unit0.net!peer01.am4!peer.am4.highwinds-media.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!g80no4104330itg.0!news-out.google.com!b73ni15820ita.0!nntp.google.com!g80no4104327itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 30 Dec 2017 09:12:45 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2601:645:c001:2a91:497f:11b2:1327:3bea; posting-account=fxr6CwoAAABjARAbZ01okNaxDpxQT8RH NNTP-Posting-Host: 2601:645:c001:2a91:497f:11b2:1327:3bea References: <1c10eec9-040c-4d50-a557-11325883529a@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: =?UTF-8?B?UmU6IEFycmF5cywgc2xpY2VzLCBjYXNlLCBhbmQg4oCYaW7igJkgc3RyYXRlZ2llcw==?= From: Mace Ayres Injection-Date: Sat, 30 Dec 2017 17:12:46 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Body-CRC: 2372952494 X-Received-Bytes: 2321 Xref: reader02.eternal-september.org comp.lang.ada:49698 Date: 2017-12-30T09:12:45-08:00 List-Id: Thanks Simon: I meant to say that in addition to using the array indices to determine the cell location, the array types, (cell) have a triad property too. It is a fixed constant of course. Maybe I could use that some how: - if gird(3,3).triad = 3 then I am in grid 3 - but I still have to search each of the 9 locations in any triad to see it already has an instance of the proposed number to enter. Better yet, can I somehow select just the cells with .triad = N ( not using the grid indices) and check if any cell with triad = N already have the numb value proposed for entry. But, at first blush that means searching all 81 locations, cells, if I have not already reduced the search space. In SQL it might look like .. Select cell.triad as evall from grid where eval = N ... returning a subset (slice) of cells with indices r=1..3 and c=1..3