comp.lang.ada
 help / color / mirror / Atom feed
From: Niklas Holsti <niklas.holsti@tidorum.invalid>
Subject: Re: Problem with Unbounded Strings
Date: Fri, 4 Dec 2015 20:00:43 +0200
Date: 2015-12-04T20:00:43+02:00	[thread overview]
Message-ID: <dce2mcFiie1U1@mid.individual.net> (raw)
In-Reply-To: <2c489db5-0d14-4a1e-9883-cf018c3a0b83@googlegroups.com>

On 15-12-04 18:53 , Laurent wrote:
> I don't use append? What is this then doing? Where U_B = ada.strings.unbound...
>
>                   U_B.Append (Source   => Buffer,
>                              New_Item => Line (5 .. Line'Last));

Dmitry is (as usual) trying to teach (or preach) his own style of 
coding, and is not really looking at your problem.

Meanwhile, are you sure that the statement

    while not Ada.Text_IO.End_Of_File (Log_File) loop

should be using "Log_File", and not the "File" parameter?

(To be honest, I did not detect this error until I tried to make a 
compilable version of your code.)

-- 
Niklas Holsti
Tidorum Ltd
niklas holsti tidorum fi
       .      @       .


  reply	other threads:[~2015-12-04 18:00 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-04 15:49 Problem with Unbounded Strings Laurent
2015-12-04 16:04 ` Dmitry A. Kazakov
2015-12-04 16:53   ` Laurent
2015-12-04 18:00     ` Niklas Holsti [this message]
2015-12-04 21:05       ` Laurent
2015-12-04 20:34     ` Dmitry A. Kazakov
2015-12-04 21:43       ` Laurent
2015-12-04 22:23         ` Dmitry A. Kazakov
2015-12-05 10:22           ` Laurent
2015-12-05 12:19             ` Dmitry A. Kazakov
2015-12-05 13:15               ` Laurent
2015-12-04 18:08 ` Jeffrey R. Carter
2015-12-04 21:21   ` Laurent
2015-12-04 21:59     ` Simon Wright
2015-12-04 23:19       ` Laurent
2015-12-04 22:02     ` Dmitry A. Kazakov
2015-12-04 22:28     ` Jeffrey R. Carter
2015-12-04 23:35       ` Laurent
2015-12-04 23:59         ` Jeffrey R. Carter
2015-12-05 10:13           ` Laurent
2015-12-08  1:53           ` Randy Brukardt
2015-12-04 23:00     ` Ben Bacarisse
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox