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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,c689b55786a9f2bd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!npeer.de.kpn-eurorings.net!npeer-ng0.de.kpn-eurorings.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.arcor.de!newsspool1.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: for S'Image use Func?? Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: Date: Thu, 6 May 2010 23:25:29 +0200 Message-ID: <1ojboulapml8w$.1w5gfpk45kh72.dlg@40tude.net> NNTP-Posting-Date: 06 May 2010 23:25:25 CEST NNTP-Posting-Host: e5964f56.newsspool1.arcor-online.net X-Trace: DXC=TJZ2fHi;IZAX36K@\WTHGJic==]BZ:afN4Fo<]lROoRA<`=YMgDjhgBL8lJ>3=`J`C[6LHn;2LCVN[ On Thu, 06 May 2010 16:22:03 -0400, Robert A Duff wrote: > Warren writes: > >> I agree that it is indeed clumsier. It's just that >> I tend to use it a lot in debug output, rather than >> chasing down the package prefix for the To_String() >> function. I know I can always get away with: >> >> Put_Line("The value V=" & T'Image(V)); > > I don't understand that. You need to chase down the package > in which T is declared, which is the same package in which > To_String (or better, Image) is declared. I always declare I/O/formatting stuff in a child package. So, T'Image has some minor advantages. (The argument would really work if it were V'Image or V.Image) -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de