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: g2news2.google.com!news2.google.com!volia.net!news2.volia.net!feed-A.news.volia.net!news.musoftware.de!wum.musoftware.de!news.weisnix.org!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Thu, 11 Nov 2010 15:19:29 +0100 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; 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: <4b8f7f06-a817-4545-9fc6-67740c67b9d3@a4g2000prm.googlegroups.com> <4cdaad27$0$6979$9b4e6d93@newsspool4.arcor-online.net> <82e746ff-a4eb-4570-8016-78930977def1@35g2000prb.googlegroups.com> <4cdb41db$0$6980$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Message-ID: <4cdbfb71$0$6988$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 11 Nov 2010 15:19:29 CET NNTP-Posting-Host: 66b2cc0a.newsspool4.arcor-online.net X-Trace: DXC=1I6@A@P]\D4IUKBP8GT\nDnc\616M64>JLh>_cHTX3jM3>EQQ9P>cJI X-Complaints-To: usenet-abuse@arcor.de Xref: g2news2.google.com comp.lang.ada:16406 Date: 2010-11-11T15:19:29+01:00 List-Id: On 11.11.10 13:02, Robert A Duff wrote: > Georg Bauhaus writes: > >> Jobs : array (Job_Id) of T := (others => Make); >> >> works, where construction function Make advances Job_Id >> values for T's discriminant internally. > > The calls to Make can happen in any order. So every task > gets a unique job id, but the N'th element of Jobs does > not necessarily have job id N. Ouch, yes. Though it had not mattered in my particular case, expressly ordering construction parameters makes a (for ...) loop or similar look even more desirable---for the static case.