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: 103376,d00514eb0749375b X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!newsfeed.straub-nv.de!uucp.gnuu.de!newsfeed.arcor.de!newsspool2.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Sun, 31 Oct 2010 22:59:44 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: initialize an array (1-D) at elaboration using an expression based on the index? References: <1f6bad81-e3d2-428b-a1a0-45acc7f96f68@m7g2000yqm.googlegroups.com> <9df4e5eb-fba7-4e8c-ba44-cd1ad4081d3b@26g2000yqv.googlegroups.com> <985a178c-8dfc-48af-9871-76a64750a571@l14g2000yqb.googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <4ccde6d0$0$7670$9b4e6d93@newsspool1.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 31 Oct 2010 22:59:44 CET NNTP-Posting-Host: bbd8f150.newsspool1.arcor-online.net X-Trace: DXC=7AhTA;8g\0285[]]\]T081ic==]BZ:af>4Fo<]lROoR1<`=YMgDjhg2B_QmXYGIhN8PCY\c7>ejV8@8=26B49K:7\Vl=m On 10/31/10 7:47 PM, Shark8 wrote: > As for a better syntax, I'm not sure; but then again I'm not sure that > an "x:= y if b else z"-style of expression is actually needed given > that we have declare-blocks. Conditional expressions are used in aspect specifications. Specifically in preconditions, postconditions, and type invariants. The look natural, there. AI 183 and AI 145.