Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bbn!oberon!sm.unisys.com!csun!csuna!abcscnuk From: abcscnuk@csuna.csun.edu (Naoto Kimura) Newsgroups: comp.lang.pascal Subject: TP 4/5 I/O logging unit (was DUEL OUTPUT) Message-ID: <1718@csuna.csun.edu> Date: 28 Feb 89 03:26:21 GMT References: <18461@adm.BRL.MIL> Reply-To: abcscnuk@csuna.csun.edu (Naoto Kimura (ACM)) Organization: CSU Northridge Lines: 22 In article <18461@adm.BRL.MIL> pmancini@lynx.northeastern.edu writes: > I would like to know what is (if possible) standard > implementation in PASCAL to send text output simultaneously > to the screen and to a LST device or file. I hate having to > ... (text deleted) ... Don't think if there is any way to do it in standard, but I have implemented what you probably want as a Turbo Pascal Unit. It will allow you to not only use "input" and "output" in their normal fashion, but it will also allow you to send the I/O to the printer or a log file. If there are sufficient requests, I will consider posting the source here. BTW, I put a similar query about this because I was having trouble implementing such a thing, but a day after posting the query, I figured out what I was doing wrong. //-n-\\ Naoto Kimura _____---=======---_____ (abcscnuk@csuna.csun.edu) ====____\ /.. ..\ /____==== // ---\__O__/--- \\ Enterprise... Surrender or we'll \_\ /_/ send back your *&^$% tribbles !!