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.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Received: by 2002:ae9:e604:: with SMTP id z4mr17978055qkf.12.1587910604832; Sun, 26 Apr 2020 07:16:44 -0700 (PDT) X-Received: by 2002:a9d:7343:: with SMTP id l3mr14070458otk.276.1587910604558; Sun, 26 Apr 2020 07:16:44 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sun, 26 Apr 2020 07:16:44 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: google-groups.googlegroups.com; posting-host=70.109.61.2; posting-account=QF6XPQoAAABce2NyPxxDAaKdAkN6RgAf NNTP-Posting-Host: 70.109.61.2 References: <26e971a9-6fcc-4e4c-84ee-d74aecd5b217@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <2c769c87-72f2-4107-b0bf-3846e3ae6c7a@googlegroups.com> Subject: Re: Image attribute (yet again) From: Jere Injection-Date: Sun, 26 Apr 2020 14:16:44 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Xref: reader01.eternal-september.org comp.lang.ada:58496 Date: 2020-04-26T07:16:44-07:00 List-Id: On Sunday, April 26, 2020 at 2:05:59 AM UTC-4, J-P. Rosen wrote: > Le 26/04/2020 =C3=A0 00:35, Stephen Davies a =C3=A9crit=C2=A0: > 'Image is not intending for elaborate formatting, it's a quick debugging > help. Text_IO has all formatting features for proper IO. Since every > program has different formatting needs, you have to write you own functio= n. >=20 This might be a good time to ask since this comes up all the time for me, but where are the formatting options for hexadecimal=20 to String. All I have found so far is the Put operation in the various "_IO" packages and generics, but it isn't=20 useful at all for formatting hexadecimal values in real world scenarios. I pretty much reinvent the wheel each time I have some variant of needing this functionality. One of these days I'll get around to making my own generic version of it, but if the Ada standard provides a means to do it, that would be optimal. The only option I have found is the Put operation, but it is pretty abysmal to use. Are there any solutions to this that I am missing from within the Ada standard?