From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-3.2 required=3.0 tests=BAYES_00,NICE_REPLY_A, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Dmitry A. Kazakov" Newsgroups: comp.lang.ada Subject: Re: Parameterised 'Image Attributes Date: Mon, 28 Aug 2023 18:09:03 +0200 Organization: A noiseless patient Spider Message-ID: References: <4c861cba-9ad6-429d-b530-a40c45dfc176n@googlegroups.com> <41ae24fb-793e-4bb7-9086-c8923ddc5d9dn@googlegroups.com> <12fb20e0-8fc7-4eec-a959-e94fd3106976n@googlegroups.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 28 Aug 2023 16:09:01 -0000 (UTC) Injection-Info: dont-email.me; posting-host="5a879763e13e5c6e904f542db0b53b64"; logging-data="1869302"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/loM3hgsqbzWikiQJgknxt3aEy6vZEvGY=" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.14.0 Cancel-Lock: sha1:RizlAFe/kBbySEF0/pk4eVAFuVQ= Content-Language: en-US In-Reply-To: <12fb20e0-8fc7-4eec-a959-e94fd3106976n@googlegroups.com> Xref: news.eternal-september.org comp.lang.ada:65568 List-Id: On 2023-08-28 17:42, Stephen Davies wrote: > On Monday, 28 August 2023 at 11:58:24 UTC+1, Dmitry A. Kazakov wrote: >> On 2023-08-28 11:18, Stephen Davies wrote: >> This will not happen either. But here I would agree, it is clearly a >> case of language littering. > > Littering, schmittering, how about adding Bin_Image, Oct_Image & Hex_Image > for Ints and Dec_Image for Ints & Reals ;-) Bin_Width_1_Image, Dec_Width_4_Image and so on... Cool, make Ada C again! (:-)) >> However see the GNAT-specific 'Img attribute. For debugging purposes it >> does not add space where 'Image also for debugging purposes adds! (:-)) > > Unless this changed recently, 'Img also adds a leading space. I see, the same mess then... -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de