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,37f929805a8bf52b X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!news2.arglkargh.de!news.tornevall.net!not-for-mail From: "Jeffrey R. Carter" Newsgroups: comp.lang.ada Subject: Re: Initialization of Arrays in Ada Date: Wed, 24 Feb 2010 14:52:10 -0700 Organization: TornevallNET - http://news.tornevall.net Message-ID: References: <28a44c31-cbe8-4f22-a109-1e954a34e87c@u9g2000yqb.googlegroups.com> NNTP-Posting-Host: 8a506ec9be2b303be5f0f5c2e1b20914 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: a574089ab61d416859367ec91a7af16d X-Complaints-To: abuse@tornevall.net X-Complaints-Language: Spoken language is english or swedish - NOT ITALIAN, FRENCH, GERMAN OR ANY OTHER LANGUAGE! In-Reply-To: <28a44c31-cbe8-4f22-a109-1e954a34e87c@u9g2000yqb.googlegroups.com> X-Validate-Post: http://news.tornevall.net/validate.php?trace=a574089ab61d416859367ec91a7af16d X-SpeedUI: 1738 X-Complaints-Italiano: Parlo la lingua non � italiano User-Agent: Thunderbird 2.0.0.23 (X11/20090817) X-Posting-User: 0243687135df8c4b260dd4a9a93c79bd Xref: g2news1.google.com comp.lang.ada:9309 Date: 2010-02-24T14:52:10-07:00 List-Id: sjw wrote: > > but then the indices of Arr are -2147483648 .. -2147483647 (ie, start > at Integer'First. Not sure if this is mandated behaviour -- probably The indices start at Integer'First. The exact value of Integer'First depends on the compiler. You cannot count on the range of Integer being greater than a 16-bit signed integer. This is mandated: ARM 4.3.3(26): "[The bounds of the index range of an array_aggregate are determined as follows:] For a positional_array_aggregate ..., the lower bound is ... that of the corresponding index subtype ..." -- Jeff Carter "Don't knock masturbation. It's sex with someone I love." Annie Hall 45