[fpc-pascal] redirecting stdout

Bernd prof7bit at googlemail.com
Sun Jul 18 20:03:46 CEST 2010


2010/7/18 Michael Van Canneyt <michael at freepascal.org>:

> I think that simply
>
> AssignStream(Output,S);
> Rewrite(Output);
>
> Probably would work as well.

Yes, you are of course right, this is simpler. I just forgot to
simplify it after I was initially playing around and experimenting
with a separate file and without redirecting Output.



More information about the fpc-pascal mailing list