[fpc-pascal]re-direction

Jonas Maebe jonas at zeus.ugent.be
Tue Sep 16 14:58:43 CEST 2003


On dinsdag, sep 16, 2003, at 14:51 Europe/Brussels, 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?

Redirection will not work if you use the crt unit. The reason is that 
the crt unit has to use several tricks (on all platforms) to do its 
thing. The tricks are different on all supported platforms, but they 
all have the same effect: redirection does not work (properly) anymore.


Jonas





More information about the fpc-pascal mailing list