Warning: mysqli::__construct(): (HY000/1203): User howardkn already has more than 'max_user_connections' active connections in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\includes\artfuncs.php on line 21
Failed to connect to MySQL: (1203) User howardkn already has more than 'max_user_connections' active connections
Warning: mysqli::query(): Couldn't fetch mysqli in D:\Inetpub\vhosts\howardknight.net\al.howardknight.net\index.php on line 66
Article <v68cih$36sd6$1@dont-email.me>
Deutsch   English   Français   Italiano  
<v68cih$36sd6$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!news.mixmin.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "J-P. Rosen" <rosen@adalog.fr>
Newsgroups: comp.lang.ada
Subject: Re: Accessing The Command Line
Date: Fri, 5 Jul 2024 10:58:00 +0200
Organization: Adalog
Lines: 30
Message-ID: <v68cih$36sd6$1@dont-email.me>
References: <v64p6n$2dviq$1@dont-email.me> <v660u9$2nt74$1@dont-email.me>
 <v67co9$2v6vc$4@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Fri, 05 Jul 2024 10:57:53 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="365854dea7eb858efa36df7c68b8f897";
	logging-data="3371430"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1+woZdry188UNPgEq/IX6eC"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:OPDJ4Kz8exSeDVBzqs9brXESju8=
In-Reply-To: <v67co9$2v6vc$4@dont-email.me>
Content-Language: en-US, fr
Bytes: 2270

Le 05/07/2024 à 01:54, Lawrence D'Oliveiro a écrit :
> 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.

Agreed. I don't understand why people dislike printing piece by piece. 
In the old FORTRAN, you could write only line by line, but this time is 
long gone...
With the various Put procedures, you have individual formatting options 
that you don't have otherwise. Moreover, there is a nice property that 
few people noticed: if you have an algorithm writing data to a file, 
with loops and so on, you can keep the exact same structure replacing 
every Put with the matching Get, and you will read your data correctly. 
This feature goes away as soon as you have a 'Image.

-- 
J-P. Rosen
Adalog
2 rue du Docteur Lombard, 92441 Issy-les-Moulineaux CEDEX
https://www.adalog.fr https://www.adacontrol.fr