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: a07f3367d7,c689b55786a9f2bd X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post02.iad.highwinds-media.com!news.flashnewsgroups.com-b7.4zTQh5tI3A!not-for-mail From: Stephen Leake Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? References: <1ojboulapml8w$.1w5gfpk45kh72.dlg@40tude.net> Date: Fri, 07 May 2010 06:15:11 -0400 Message-ID: <82ljbwm30w.fsf@stephe-leake.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) Cancel-Lock: sha1:QS4sSwUe7yoozcpdKGSzeCdy7yY= MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@flashnewsgroups.com Organization: FlashNewsgroups.com X-Trace: 8bc754be3e887e197caa731120 Xref: g2news2.google.com comp.lang.ada:11361 Date: 2010-05-07T06:15:11-04:00 List-Id: "Dmitry A. Kazakov" writes: > 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. Me, to. And the childe package is named Images. > So, T'Image has some minor advantages. (The argument would really work > if it were V'Image or V.Image) It's Foo.Bar.T'Image vs Foo.Bar.Images.Image. No problem. -- -- Stephe