On 2018-05-04 19:30, Marco van de Voort via Lazarus wrote:
> On Fri, May 04, 2018 at 01:31:50PM +0200, Carlos E. R. via Lazarus wrote:
>> Now I have to figure out how to write both to file and screen :-)
>
> fpc streamio
>
Results in church related links, LOL.
Better "freepascal streamio".
On 2018-05-04 18:46, Reimar Grabowski via Lazarus wrote:
> On Fri, 4 May 2018 13:34:54 +0200
> "Carlos E. R. via Lazarus" wrote:
>
>> Yes, of course, that's what I'm doing now, but I wanted to do it
>> internally, control the file name, perhaps rotate it, etc :-)
>
On Fri, May 04, 2018 at 01:31:50PM +0200, Carlos E. R. via Lazarus wrote:
> Now I have to figure out how to write both to file and screen :-)
fpc streamio
--
___
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
On Fri, 4 May 2018 13:34:54 +0200
"Carlos E. R. via Lazarus" wrote:
> Yes, of course, that's what I'm doing now, but I wanted to do it
> internally, control the file name, perhaps rotate it, etc :-)
Perhaps you should use a logger.
There are surely some FPC ones
On 2018-05-04 13:30, Bart via Lazarus wrote:
> On Fri, May 4, 2018 at 12:51 PM, Carlos E. R. via Lazarus
> wrote:
>
>> I want to do a series of "writeln(...)" and have the output go
>> simultaneously to the console and to a text file of my choice. I have
>> the
On 2018-05-04 12:58, Mattias Gaertner via Lazarus wrote:
> On Fri, 4 May 2018 12:51:38 +0200
> "Carlos E. R. via Lazarus" wrote:
>
>> [...]
>> I want to do a series of "writeln(...)" and have the output go
>> simultaneously to the console and to a text file of my
On Fri, May 4, 2018 at 12:51 PM, Carlos E. R. via Lazarus
wrote:
> I want to do a series of "writeln(...)" and have the output go
> simultaneously to the console and to a text file of my choice. I have
> the vague idea that this was done writing a text file handler
On Fri, 4 May 2018 12:51:38 +0200
"Carlos E. R. via Lazarus" wrote:
>[...]
> I want to do a series of "writeln(...)" and have the output go
> simultaneously to the console and to a text file of my choice. I have
> the vague idea that this was done writing a text
Hi,
I know I did this decades ago with Turbo Pascal, but I can't remember
how, and my google foo fails me.
I want to do a series of "writeln(...)" and have the output go
simultaneously to the console and to a text file of my choice. I have
the vague idea that this was done writing a text file