Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool2.mu.edu!uunet!bonnie.concordia.ca!ccu.umanitoba.ca!herald.usask.ca!anderson From: anderson@herald.usask.ca (Cathy Anderson) Newsgroups: comp.lang.pascal Subject: Input and Output HELP Message-ID: <1991Jan29.050936.10864@herald.usask.ca> Date: 29 Jan 91 05:09:36 GMT Distribution: na Organization: University of Saskatchewan Lines: 10 I need help, I'm not too familiar with redirecting output in pascal. I'm using TP 5.5 on a PC and am getting V6.0 within the week. What I want to do is redirect output to a file and the screen at the same time. I can do it to one or the other, or both (if I use 2 lines for each output) I was wondering if there is an easier way to do this. Also, I want to interchangably read from keyboard or file with a variable. The variable is just assigned the varible name for a file, but what is the code for reading from the keyboard.