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!news.glorb.com!news.mv.net!nntp.TheWorld.com!not-for-mail From: Robert A Duff Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? Date: Thu, 06 May 2010 16:22:03 -0400 Organization: The World Public Access UNIX, Brookline, MA Message-ID: References: NNTP-Posting-Host: shell01.theworld.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: pcls6.std.com 1273177311 12103 192.74.137.71 (6 May 2010 20:21:51 GMT) X-Complaints-To: abuse@TheWorld.com NNTP-Posting-Date: Thu, 6 May 2010 20:21:51 +0000 (UTC) User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (irix) Cancel-Lock: sha1:rH70R2qYT4MN2GhxH7aK7NrZ6mI= Xref: g2news2.google.com comp.lang.ada:11340 Date: 2010-05-06T16:22:03-04:00 List-Id: 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. Or use use clauses. - Bob