On Wed, May 13, 2009 07:07, leledumbo wrote:
>
> It works... but only for the first call, after that IOResult gives 103.
> Does
> rtl closes stdout handle after every write or what?

No, certainly not. As suggested yesterday, you need to implement some of
the other Do_* functions, at least Do_Open, otherwise some of the fields
in the TextRec/FileRec are not initialized properly (e.g. the input/output
mode). Just have a look at one of the existing implementations.

Tomas


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to