Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!crackers!m2c!umvlsi!umaecs!amh!twpierce From: twpierce@amherst.bitnet (Tim Pierce) Newsgroups: comp.lang.pascal Subject: Re: Turbo Pascal &/or VAX Pascal Message-ID: <10382.27074ceb@amherst.bitnet> Date: 1 Oct 90 14:04:27 GMT References: <24649@adm.BRL.MIL> Lines: 18 In article <24649@adm.BRL.MIL>, nyhl@ursa.calvin.edu (Larry R. Nyhoff) writes: > 1. Where can I get code for capturing input and output in Turbo > Pascal? I now have students who are doing their coursework in > Turbo, and they need to be able to hand in hard copy of sample > runs of their program, Whenever I knew I'd have to hand in sample program runs, I'd include statements in my program to send all output to a file as well as to the console. No big deal. But if that's too much trouble, couldn't you just execute "foobar > foobar.out" to capture program output? ---------------------------------------------------------------------------- Tim Pierce | "They call television a medium. That is because twpierce@amherst.bitnet | it is neither rare nor well done." - Ernie Kovacs ----------------------------------------------------------------------------