From: Rod Kay <rodakay5@gmail.com>
Subject: Re: Accessing The Command Line
Date: Fri, 5 Jul 2024 01:13:36 +1000 [thread overview]
Message-ID: <v66e2h$2qctv$1@dont-email.me> (raw)
In-Reply-To: <v64v62$2erlp$2@dont-email.me>
On 4/7/24 11:50, Lawrence D'Oliveiro wrote:
> On Wed, 03 Jul 2024 18:16:01 -0700, Paul Rubin wrote:
>
> I wonder how you would express such a thing in an Ada-friendly fashion?
There is the 'GNAT.Formatted_String' package, which provides
'printf' functionality.
Unfortunately, it's formatting is somewhat buggy and has been so for
many years. Usage is quite simple and reasonably elegant but the
occasional incorrect formatting is a major problem, essentially
rendering the package useless.
There is also the new 2022 f"X = {An_X_Variable}" notation for
embedding Variable'Image into strings, which is very nice. However, it
does not allow for formatting, so not useful for your needs. Just
thought I'd mention it, as it is now available in GCC 14.
Regards.
next prev parent reply other threads:[~2024-07-04 15:13 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-04 0:08 Accessing The Command Line Lawrence D'Oliveiro
2024-07-04 1:16 ` Paul Rubin
2024-07-04 1:50 ` Lawrence D'Oliveiro
2024-07-04 15:13 ` Rod Kay [this message]
2024-07-04 16:15 ` Dmitry A. Kazakov
2024-07-04 11:27 ` Jeffrey R.Carter
2024-07-04 23:54 ` Lawrence D'Oliveiro
2024-07-05 8:58 ` J-P. Rosen
2024-07-04 13:01 ` Dmitry A. Kazakov
2024-07-04 19:42 ` Ben Bacarisse
2024-07-04 22:06 ` Paul Rubin
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox