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: 103376,dfc164e526616c68 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!oleane.net!oleane!news.in2p3.fr!in2p3.fr!kanaga.switch.ch!ezmp3.switch.ch!news-zh.switch.ch!switch.ch!cernne03.cern.ch!cern.ch!news From: Maciej Sobczak Newsgroups: comp.lang.ada Subject: Re: How to extract range from array Date: Mon, 20 Mar 2006 11:04:42 +0100 Organization: CERN - European Laboratory for Particle Physics Message-ID: References: <1142608344.661977.123860@i39g2000cwa.googlegroups.com> NNTP-Posting-Host: abpc10883.cern.ch Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sunnews.cern.ch 1142849082 23046 (None) 137.138.37.241 X-Complaints-To: news@sunnews.cern.ch User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20060203 Red Hat/1.7.12-1.1.3.4 X-Accept-Language: en-us, en In-Reply-To: <1142608344.661977.123860@i39g2000cwa.googlegroups.com> Xref: g2news1.google.com comp.lang.ada:3478 Date: 2006-03-20T11:04:42+01:00 List-Id: Martin Krischik wrote: > Read: > > http://en.wikibooks.org/wiki/Ada_Programming/Types/array#Array_Attributes Thank you, this is exactly what I was missing - the constraining of the Integer part, and thought that it can be done by just simple attribute usage, like in: type My_Range is My_Array'Range; which does not work. -- Maciej Sobczak : http://www.msobczak.com/ Programming : http://www.msobczak.com/prog/