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-7-bit Path: g2news2.google.com!news1.google.com!newsfeed2.dallas1.level3.net!news.level3.com!bloom-beacon.mit.edu!newsswitch.lcs.mit.edu!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: initialize an array (1-D) at elaboration using an expression based on the index? Date: Thu, 11 Nov 2010 07:02:19 -0500 Organization: The World Public Access UNIX, Brookline, MA Message-ID: 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> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1289476939 27138 192.74.137.71 (11 Nov 2010 12:02:19 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 11 Nov 2010 12:02:19 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:iSS0GqsfixZ3vF9OrjrNzo04sl4= Xref: g2news2.google.com comp.lang.ada:16403 Date: 2010-11-11T07:02:19-05:00 List-Id: 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. - Bob