|
[Sponsors] |
April 12, 2006, 18:53 |
Fortran Question
|
#1 |
Guest
Posts: n/a
|
Question: I run a fortran code which writes data to a file. Then I run the code again and this time I want to write the data to the same file but without erasing the previously written data. What normally happens is the previous data is erased and only the new data is written in the file. Is there any command to add the new data to the previously written data?
Thank you |
|
April 12, 2006, 18:56 |
Re: Fortran Question
|
#2 |
Guest
Posts: n/a
|
open(iunit,file='something',status='old',position= 'append') where iunit is your unit number
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
a strange question about Fortran | Hall | Main CFD Forum | 9 | May 18, 2004 03:48 |
Question on USER FORTRAN: GETVAR | BoZ | CFX | 2 | May 6, 2003 11:32 |
Short question on command in user fortran | Franz Thomsen | CFX | 2 | June 20, 2000 07:35 |
'C' or FORTRAN or 'C++' | Yogesh Talekar | Main CFD Forum | 20 | October 21, 1999 05:00 |