updating a text file (replacing the existing parameters with the new values)
I have a text file that needs to be updated to be used by some fortran code later.
it looks like that:
1,1 !Ms for y-stations, Ns for x-stations
0,0,0, !xsta, ysta, zsta
I need to replace the "0,0,0" with new values for xsta,ysta and zsta;
I have had no success and ur help is much appreciated.
Last edited by rastin_nz; 11-09-2010 at 09:50 PM.