comp.lang.ada
 help / color / mirror / Atom feed
From: Jeffrey Carter <spam.jrcarter.not@spam.not.acm.org>
Subject: Re: Help needed - Upper Bound of an array - Question.
Date: Tue, 07 Feb 2012 10:30:10 -0700
Date: 2012-02-07T10:30:10-07:00	[thread overview]
Message-ID: <jgrn33$icp$1@adenine.netfront.net> (raw)
In-Reply-To: <d0f24231-9160-4bbd-8286-6d219b8eb296@x19g2000yqh.googlegroups.com>

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 ---



  parent reply	other threads:[~2012-02-07 17:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-07 14:41 Help needed - Upper Bound of an array - Question adacrypt
2012-02-07 15:00 ` Yannick Duchêne (Hibou57)
2012-02-07 15:04 ` Mark Lorenzen
2012-02-07 15:08 ` Ludovic Brenta
2012-02-07 15:27   ` Yannick Duchêne (Hibou57)
2012-02-07 15:59   ` adacrypt
2012-02-07 16:13     ` Gautier write-only
2012-02-07 17:30     ` Jeffrey Carter [this message]
2012-02-07 19:51       ` tmoran
2012-02-09  3:31         ` Randy Brukardt
2012-02-07 18:22     ` Ludovic Brenta
2012-02-07 20:42       ` adacrypt
2012-02-07 18:56     ` Georg Bauhaus
2012-02-07 21:22     ` Robert A Duff
2012-02-07 15:33 ` Álex R. Mosteo
2012-02-07 22:08 ` Jerry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox