> 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

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to