From mboxrd@z Thu Jan 1 00:00:00 1970 Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Lawrence D'Oliveiro Newsgroups: comp.lang.ada Subject: Re: Accessing The Command Line Date: Thu, 4 Jul 2024 23:54:49 -0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Fri, 05 Jul 2024 01:54:50 +0200 (CEST) Injection-Info: dont-email.me; posting-host="f79de672a803ab933f2468b509612aa4"; logging-data="3120108"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+5L8UAkoIaq8DZ+4lP9ATS" User-Agent: Pan/0.158 (Avdiivka; ) Cancel-Lock: sha1:y7ZZqO9pon8CGeQfguQvhVY0JkE= Xref: news.eternal-september.org comp.lang.ada:66224 List-Id: 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.