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=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,d00514eb0749375b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!p26g2000yqb.googlegroups.com!not-for-mail From: Phil Clayton Newsgroups: comp.lang.ada Subject: Re: initialize an array (1-D) at elaboration using an expression based on the index? Date: Wed, 20 Oct 2010 13:01:18 -0700 (PDT) Organization: http://groups.google.com Message-ID: <8db2876b-330f-4b3d-88d9-d5eb557a04c1@p26g2000yqb.googlegroups.com> References: <4b8f7f06-a817-4545-9fc6-67740c67b9d3@a4g2000prm.googlegroups.com> <04e9d3fb-8a43-4a95-adc0-e5604dd4a692@p26g2000yqb.googlegroups.com> NNTP-Posting-Host: 89.195.12.43 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1287604879 10676 127.0.0.1 (20 Oct 2010 20:01:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Wed, 20 Oct 2010 20:01:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: p26g2000yqb.googlegroups.com; posting-host=89.195.12.43; posting-account=v7gx3AoAAABfjb9m5b7l_Lt2KVEgQBIe User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-GB; rv:1.9.0.15) Gecko/2009102704 Fedora/3.0.15-1.fc10 Firefox/3.0.15,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:15604 Date: 2010-10-20T13:01:18-07:00 List-Id: On Oct 18, 4:03=A0pm, Adam Beneschan wrote: > Anyway, if I feel up to submitting this as a proposed language change, > I'll make sure you get credit. =A0I do think this syntax, which you > mentioned in the previous thread and which I apparently unconsciously > plagiarized, is the cleanest. I'm sure I'm not the first to suggest this sort of thing and certainly wouldn't expect any credit for it! (Thank you, all the same.) As you mentioned, it's not a big leap from conditional expressions. It would be great if you submitted a proposal along these lines. I think it would be genuinely useful in many respects. Phil