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.220.230 with SMTP id pz6mr17320362pbc.3.1340730963241; Tue, 26 Jun 2012 10:16:03 -0700 (PDT) Path: l9ni22697pbj.0!nntp.google.com!news2.google.com!news.glorb.com!feeder.erje.net!news2.arglkargh.de!news.mixmin.net!weretis.net!feeder1.news.weretis.net!news-peer.in.tum.de!news.belwue.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Date: Tue, 26 Jun 2012 19:13:42 +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: <4fe9bf33$0$6566$9b4e6d93@newsspool4.arcor-online.net> <4fe9daf1$0$6556$9b4e6d93@newsspool4.arcor-online.net> In-Reply-To: Message-ID: <4fe9edc7$0$6570$9b4e6d93@newsspool4.arcor-online.net> Organization: Arcor NNTP-Posting-Date: 26 Jun 2012 19:13:43 CEST NNTP-Posting-Host: 2475798c.newsspool4.arcor-online.net X-Trace: DXC=0moXl=cV0Dm]BlmkiiU@Bi4IUKjLh>_cHTX3jmWNCKElV?b@d X-Complaints-To: usenet-abuse@arcor.de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: 2012-06-26T19:13:43+02:00 List-Id: On 26.06.12 19:05, John B. Matthews wrote: > Ada.Text_IO.Put_Line(A'First'Img & " " & A'Last'Img); In case anyone wishes to write standard Ada when debugging, not the GNAT language, the implementation specific attribute 'Img can be replaced by standard Ada's Ada.Text_IO.Put_Line (Integer'Image(A'First) & " " & Integer'Image(A'Last)); The static member functions of class Integer ;-)