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!news.glorb.com!news.mv.net!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: Fri, 15 Oct 2010 21:47:22 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: <4b8f7f06-a817-4545-9fc6-67740c67b9d3@a4g2000prm.googlegroups.com> NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1287193628 17041 192.74.137.71 (16 Oct 2010 01:47:08 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Sat, 16 Oct 2010 01:47:08 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:ktkRfYn4SbowbFTN/2dCDCL29yo= Xref: g2news2.google.com comp.lang.ada:15529 Date: 2010-10-15T21:47:22-04:00 List-Id: "Nasser M. Abbasi" writes: > ... but Mr Robert Duff send me > a nice solution to use, which is to use an init() function. Oops, sorry, I meant to post that to the newsgroup instead of mailing it just to you. Thanks for cleaning it up and posting the result! >...Here is my > code now using his idea. - Bob