[fpc-pascal]Redirecting StdOut

Andreas K. Foerster Andreas at AKFoerster.de
Sat May 25 08:46:24 CEST 2002

On Fri, May 24, 2002 at 03:05:21PM -0700, Rich Pasco wrote:

> Hi,
> Here's a simple Win32 console program which is supposed to demonstrate
> redirecting StdOut.  However the line "This should go to redout.txt"
> still goes to to the console.  Can anyout tell me what is wrong?

I don't understand that windows commands, but input and output are done
using the variables INPUT, OUTPUT, STDERR. These have to be changed in
my opinion.
This would also be a more portable way.


More information about the fpc-pascal mailing list