[fpc-pascal] Customizing tply

Steve Williams stevewilliams at kromestudios.com
Fri Dec 10 12:36:15 CET 2004


> Actually, do you think you could extend this and
> create a bridge between streams and text files ?
>
> I mean 2 calls like
>
> First: Text->Stream.
>
> Var
>   f : Text;
>   S : TSTream;
>
> begin
>   AssignTextStream(F,S);
>   Rewrite(F);
>   Writeln(F,'Something'); // Writes actually to stream S.
>   Close(F);
> end.

That's exactly how the unit I posted works.  As for the second method you
mentioned, I do not see much use for that.

Sly




More information about the fpc-pascal mailing list