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.129.57.84 with SMTP id g81mr6285888ywa.127.1485024906949; Sat, 21 Jan 2017 10:55:06 -0800 (PST) X-Received: by 10.157.20.145 with SMTP id d17mr2039922ote.18.1485024906894; Sat, 21 Jan 2017 10:55:06 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!news.glorb.com!i7no356702qta.1!news-out.google.com!h135ni2467ith.0!nntp.google.com!r185no1225067ita.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 21 Jan 2017 10:55:06 -0800 (PST) In-Reply-To: <83409c51-59d3-4205-9eeb-5467de09f069@googlegroups.com> Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=98.109.59.90; posting-account=h3IwYwoAAAAeE2lWQnRSCqcQ0dO-KDvQ NNTP-Posting-Host: 98.109.59.90 References: <83409c51-59d3-4205-9eeb-5467de09f069@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <49e2ede2-42ce-455c-85c9-500330db9f60@googlegroups.com> Subject: Re: Q: Trouble creating array and discriminated type From: b.mcguinness747@gmail.com Injection-Date: Sat, 21 Jan 2017 18:55:06 +0000 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:33113 Date: 2017-01-21T10:55:06-08:00 List-Id: Thank you for your replies. They have been very helpful to me. I have got= ten the code to compile properly now. It is also good to have your advice on how to approach these problems. Alt= hough for my current purposes there is no significant difference between st= arting indices at 0 or starting them at 1, I can now see where this sort of= flexibility could be a major advantage; for example, in one algorithm for = converting between Julian days and calendar dates it would be convenient to= have an array of integers with indices ranging from 3 to 14. I also take = your point about avoiding anonymous arrays. --- Brian McGuinness