[Lazarus] Cloning standard output to text file
Carlos E. R.
robin.listas at telefonica.net
Fri May 4 20:15:56 CEST 2018
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".
<https://www.freepascal.org/docs-html/fcl/streamio/index.html>
«The StreamIO unit implements a call to reroute the input or output of a
text file to a descendents of TStream.»
Sorry, I fail to see how I can use this with writeln to write to *both*
output and file at the same time. Maybe I miss something :-?
--
Cheers / Saludos,
Carlos E. R.
(from 42.3 x86_64 "Malachite" at Telcontar)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20180504/4745d262/attachment.sig>
More information about the Lazarus
mailing list