Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TugboatEng on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

FORTRAN editint text file (specific line)

Status
Not open for further replies.

venturitr

New member
Joined
Feb 21, 2012
Messages
5
Location
TR
Hello everyone

I am trying to writing fortran code that edits spesific line of the text file. But I dont want to delete or edit other lines.
For example I am trying to edit 10069. line of s4t.bdf file and write that : "CONM2 2100000121000001 0.0658"

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&

program f_read
open (unit = 1, file = "s4t.bdf", status = "old", action = "readwrite")
write (1,"(10070/,)") a
close(1)
endprogram f_read

&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
 
I'm confused... are you saying you don't have the original Fortran code?

Dan - Owner
Footwell%20Animation%20Tiny.gif
 
Yes İ only could write this much
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top