Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cwjcc!gatech!udel!udccvax1!udccpyr1!mikej From: mikej@pyr1.acs.udel.EDU (Michael Jacobs) Newsgroups: comp.lang.pascal Subject: Re: DUEL OUTPUT Keywords: Dual oiutput made easy Message-ID: <2937@udccvax1.acs.udel.EDU> Date: 27 Feb 89 20:26:15 GMT References: <18461@adm.BRL.MIL> Sender: usenet@vax1.acs.udel.EDU Reply-To: mikej@pyr1.acs.udel.EDU (Michael Jacobs) Organization: University of Delaware Lines: 17 In article <18461@adm.BRL.MIL> pmancini@lynx.northeastern.edu writes: > to the screen and to a LST device or file. I hate having to > write lines twice, such as; > > writeln('abcdefg12345'); {goes to screen} > writeln(lst,'abcdefg12345'); {goes to printer} > > Is there anyway I can send the output to both without > writing the line twice? How about making a procedure with a string as an input and does the two writeln's in it. Mike J, The Grey Sysop... | Ancient Spirits of Evil, transform this Temporal Hitchhiker | decayed form into Mumm-ra, the Ever Living! mikej@vax1.acs.udel.EDU |