Re: writing output listing onto screen (or not) and onto file



Bernard Bru wrote:
Is it possible to simplify my code by putting only one
WRITE statement when I want to write output results onto screen
(or not) and onto a file :

Are you asking about facilities provided by most systems for redirecting output sent to '*' (or, on many systems, unit 6 without an OPEN)?
For example, the tee program, or redirection using '>' on the command line?
.



Relevant Pages