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=0.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,1ff542cf207f32ca X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.238.198 with SMTP id vm6mr14657911pbc.3.1328635812691; Tue, 07 Feb 2012 09:30:12 -0800 (PST) Path: lh20ni271208pbb.0!nntp.google.com!news1.google.com!news.glorb.com!newsgate.cuhk.edu.hk!news.netfront.net!not-for-mail From: Jeffrey Carter Newsgroups: comp.lang.ada Subject: Re: Help needed - Upper Bound of an array - Question. Date: Tue, 07 Feb 2012 10:30:10 -0700 Organization: Also freenews.netfront.net; news.tornevall.net Message-ID: References: <9203a648-af0d-45a1-87ba-67373435b391@k10g2000yqk.googlegroups.com> NNTP-Posting-Host: 97.213.15.68 Mime-Version: 1.0 X-Trace: adenine.netfront.net 1328635812 18841 97.213.15.68 (7 Feb 2012 17:30:12 GMT) X-Complaints-To: news@netfront.net NNTP-Posting-Date: Tue, 7 Feb 2012 17:30:12 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111229 Thunderbird/9.0 In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Date: 2012-02-07T10:30:10-07:00 List-Id: On 02/07/2012 08:59 AM, adacrypt wrote: > > This is my declaration. > > SUBTYPE Index_30 IS Integer RANGE -500000 .. 500000; > TYPE I_CoefficientsNumArray IS ARRAY(Index_30) OF Integer; > I_Num : I_CoefficientsNumArray; > -- counts the occurences of the j coefficients of the ciphertext. Here is a 3rd source of limits on the size of the array: the index subtype of the array, in this case Index_30. Index_30 has 1_000_001 values, so I_Num has 1_000_001 components. -- Jeff Carter "Why, the Mayflower was full of Fireflies, and a few horseflies, too. The Fireflies were on the upper deck, and the horseflies were on the Fireflies." Duck Soup 95 --- Posted via news://freenews.netfront.net/ - Complaints to news@netfront.net ---