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!o23g2000prh.googlegroups.com!not-for-mail From: Adam Beneschan Newsgroups: comp.lang.ada Subject: Re: initialize an array (1-D) at elaboration using an expression based on the index? Date: Mon, 18 Oct 2010 08:03:40 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4b8f7f06-a817-4545-9fc6-67740c67b9d3@a4g2000prm.googlegroups.com> <04e9d3fb-8a43-4a95-adc0-e5604dd4a692@p26g2000yqb.googlegroups.com> NNTP-Posting-Host: 66.126.103.122 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1287414220 30576 127.0.0.1 (18 Oct 2010 15:03:40 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 18 Oct 2010 15:03:40 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: o23g2000prh.googlegroups.com; posting-host=66.126.103.122; posting-account=duW0ogkAAABjRdnxgLGXDfna0Gc6XqmQ User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.21022; .NET CLR 3.5.30729; .NET CLR 3.0.30618; .NET4.0C),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:15577 Date: 2010-10-18T08:03:40-07:00 List-Id: On Oct 16, 3:08=A0am, Phil Clayton wrote: > > > Perhaps someone has already made a similar proposal, but I can't find > > it. ... > > There was a recent discussion about exactly this on c.l.a. that > spawned off a thread on conditional expressions: > > http://groups.google.com/group/comp.lang.ada/browse_thread/thread/334... > > Phil Yep, perhaps I subconsciously remembered something about that thread. I was trying to find it in the AI's, and I couldn't. But Randy's comment suggests that someone may have made a proposal like this before Ada 95, and I was only looking in the AI95 and AI05's---not the AI83's. Anyway, if I feel up to submitting this as a proposed language change, I'll make sure you get credit. I do think this syntax, which you mentioned in the previous thread and which I apparently unconsciously plagiarized, is the cleanest. -- Adam