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.28.11 with SMTP id c11mr32582589itc.41.1517674048462; Sat, 03 Feb 2018 08:07:28 -0800 (PST) X-Received: by 10.157.63.152 with SMTP id r24mr961618otc.0.1517674048386; Sat, 03 Feb 2018 08:07:28 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.linkpendium.com!news.linkpendium.com!news.snarked.org!border2.nntp.dca1.giganews.com!nntp.giganews.com!g80no1023893itg.0!news-out.google.com!s63ni1761itb.0!nntp.google.com!g80no1023892itg.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 3 Feb 2018 08:07:27 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=173.71.208.22; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 173.71.208.22 References: <19b28472-5810-4306-b1b1-545cc7b6edcc@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <261af8dc-90f8-4c89-bbdd-30b7c9dc2717@googlegroups.com> Subject: Re: Array of records with default values not propagating to array From: Jere Injection-Date: Sat, 03 Feb 2018 16:07:28 +0000 Content-Type: text/plain; charset="UTF-8" Xref: reader02.eternal-september.org comp.lang.ada:50291 Date: 2018-02-03T08:07:27-08:00 List-Id: On Saturday, February 3, 2018 at 10:26:57 AM UTC-5, Simon Wright wrote: > Jere writes: > > > The big issue I see is not incrementing Index in the first loop. As > > it stands, you simply keep reassigning trumps to the same card over > > and over again. > > When I copied OP's code it _did_ increment Index in the first loop. ?? > That is weird. I highlighted all and did a copy + paste into GPS. I guess I accidentally deleted it somehow. Sorry about that!