2010/7/18 Michael Van Canneyt <mich...@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.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to