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!news1.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: for S'Image use Func?? Date: Fri, 07 May 2010 20:29:46 +0100 Organization: A noiseless patient Spider Message-ID: References: <1ojboulapml8w$.1w5gfpk45kh72.dlg@40tude.net> <82ljbwm30w.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Fri, 7 May 2010 19:29:46 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="8382"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18hxCMbBeqz92p6deUwuniWVXhPF0kqIhA=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:TMz4d7ghLyWxsEA8tgn673vCJlw= sha1:CpkBnZb66Z5kL+SSxfH53IYyZnw= Xref: g2news2.google.com comp.lang.ada:11381 Date: 2010-05-07T20:29:46+01:00 List-Id: Stephen Leake writes: > "Dmitry A. Kazakov" writes: >> 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. I know it's an implementation-defined attribute, but for non-operational quick-and-dirty code that doesn't need to be portable I use GNAT's V'Img (shame it still has the leading space for positive numbers!) Sometimes the 'Image way is useful even in that sort of context: Duration'Image (Finish_Time - Start_Time) avoids the need for a local variable which 'Img would require.