[fpc-pascal] redirecting stdout

2010-07-17 Thread Jetcheng Chu
You can do that by implementing your own textfile driver, c.f. . -- Jetcheng Chu ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org htt

[fpc-pascal] redirecting stdout

2010-07-17 Thread Bernd
is it possible to redirect stdout so that everytime I call writeln() the output is sent to a function that accepts a string instead of stdout? I have googled for some hours now and looked into the CRT unit but I somehow cannot figure out how this mechanism is supposed to work. I understand that so