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,1ce0ce3b2db00698 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Received: by 10.68.223.40 with SMTP id qr8mr16840006pbc.0.1340718900339; Tue, 26 Jun 2012 06:55:00 -0700 (PDT) Path: l9ni22156pbj.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!newsfeed.straub-nv.de!feeder1-2.proxad.net!proxad.net!feeder2-2.proxad.net!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Tue, 26 Jun 2012 15:54:59 +0200 From: Georg Bauhaus User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: how to print an array range? References: In-Reply-To: Message-ID: <4fe9bf33$0$6566$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 26 Jun 2012 15:54:59 CEST NNTP-Posting-Host: ad3f3a44.newsspool4.arcor-online.net X-Trace: DXC=Dg0=U3D7ccc:i=48;n?Z:`4IUKjLh>_cHTX3jmZI8@8A?3^Mo X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Date: 2012-06-26T15:54:59+02:00 List-Id: On 26.06.12 15:47, Nasser M. Abbasi wrote: > > simple question from newbie. How do I print array range? A range is not a value of some type. For type T, print T'First and T'Last; for array A(..., ...), print A'First(n) and A'Last(n), n > 0 being the nth index type.