[fpc-pascal]re-direction
Michael Van Canneyt
michael.vancanneyt at wisa.be
Tue Sep 16 15:05:42 CEST 2003
On Tue, 16 Sep 2003, DONALD PEDDER wrote:
> When I try to re-direct my program output it's not working. I have
> tried both ">file" and "|more", yet the program continues to display on
> screen as normal. Is there a known bug with this?
If you use the CRT unit, this is normal behaviour. The CRT unit and
rediction are NOT compatible.
>
> In another compiler, I used to have such problems when I was calling
> the program from a batch file, but not when called directly (so I would
> have to manually execute what the batch file did, then call the program in
> order for re-direction to work). With FPC though, I can't get re-direction
> to work at all.
If you use CRT, remove it, and all will work normally.
Michael.
More information about the fpc-pascal
mailing list