comp.lang.ada
 help / color / mirror / Atom feed
From: Lawrence D'Oliveiro <ldo@nz.invalid>
Subject: Re: Accessing The Command Line
Date: Thu, 4 Jul 2024 23:54:49 -0000 (UTC)	[thread overview]
Message-ID: <v67co9$2v6vc$4@dont-email.me> (raw)
In-Reply-To: v660u9$2nt74$1@dont-email.me

On Thu, 4 Jul 2024 13:27:05 +0200, Jeffrey R.Carter wrote:

> On 2024-07-04 02:08, Lawrence D'Oliveiro wrote:
> 
> Remember that you can concatenate strings:
> 
>>      tio.put("my name: ");
>>      tio.put(cli.Command_name);
>>      tio.Put_Line("");
> 
> Tio.Put_Line (Item => "my name: " & Cli.Command_Name);

I’m sure I can, but I’m not sure what the point is. Let Ada collect the 
pieces in its own buffers. That saves copying steps.

> For more complex uses, you can use something like
> PragmARC.Images[.Image] (https://github.com/jrcarter/PragmARC).

I don’t really feel the need to resort to third-party libraries just to do 
simple I/O.

  reply	other threads:[~2024-07-04 23:54 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
2024-07-04 16:15     ` Dmitry A. Kazakov
2024-07-04 11:27 ` Jeffrey R.Carter
2024-07-04 23:54   ` Lawrence D'Oliveiro [this message]
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