[fpc-devel] StdOut capture for FPC RTL

Thaddy thaddy at thaddy.com
Thu Nov 25 10:39:03 CET 2010


On 25-11-2010 10:24, michael.vancanneyt at wisa.be wrote:
>
> They are threadvars in trunk:
>
> ThreadVar
>   ThreadID    : TThreadID;
>   { Standard In- and Output }
>   ErrOutput,
>   Output,
>   Input,
>   StdOut,
>   StdErr      : Text;
>
> Michael.
> _______________________________________________
That's not Delphi compatible, btw: ;) : op.cit: system.pas
var
...........
   Input: Text;            { Standard input }
   Output: Text;           { Standard output }
   ErrOutput: Text;        { Standard error output }

It may be a good thing, though.
It also explains my strange results in testing D vs FPC this morning.




More information about the fpc-devel mailing list