Sujet : Re: Accessing The Command Line
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.adaDate : 05. Jul 2024, 00:54:49
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v67co9$2v6vc$4@dont-email.me>
References : 1 2
User-Agent : Pan/0.158 (Avdiivka; )
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.