Path: utzoo!attcan!uunet!lll-winken!ames!mailrus!iuvax!rutgers!bpa!cbmvax!vu-vlsi!lehi3b15!lafcol!galvinp From: galvinp@lafcol.UUCP (Pablo) Newsgroups: comp.lang.pascal Subject: Re: Dual Output Keywords: general writeln's Message-ID: <435@lafcol.UUCP> Date: 1 Mar 89 01:05:01 GMT Organization: Academic Computer Center, Lafayette College Lines: 20 This is a reply to the question concerning dual output using Turbo Pascal. One thing that I have done in the past is to keep all of my writeln's general in format. For instance: writeln (OUTFILE,'text'); and then simply rewrite OUTFILE. This requires that you be able to go through each write twice, once for the screen, then rewrite OUTFILE, then out to the printer. This isn't always convenient, but is sometimes usefull. If anyone else has anything to sy concerning this, I would also appreciate suggestions, since in my CS classes, I often need to do something like this. Paul Galvin (galvinp@lafcol)