Is there a simple way to write to the display at the same time as writing to a disk?
I've just been putting together a quick program to scan through some data and have written it so that it spits out everything to the screen using write(*,*) commands.
I'd like it to create a dump of this stuff to a file too. Obviously, I could just go through and duplicate every write command but is there a simpler more elegant way to do it?
I've just been putting together a quick program to scan through some data and have written it so that it spits out everything to the screen using write(*,*) commands.
I'd like it to create a dump of this stuff to a file too. Obviously, I could just go through and duplicate every write command but is there a simpler more elegant way to do it?