Did you know you can write your own text driver so that Writeln can output to anywhere you want, not just to a file or screen - didn't know - then watch an learn.