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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Dvocvet

    Read data with name and value from txt in fortran separated by commas

    Thanks people. I solved problem on the next way: program prog implicit none double precision::kapa,r2,T2,a2 open (1,file='list.txt') read (1,*) (kapa,r2,T2) a2=sqrt(kapa*r2*T2) print *, "a2=",a2 end program prog Where input data in list.txt look like...
  2. Dvocvet

    Read data with name and value from txt in fortran separated by commas

    Hi everybody I need to read some data from txt file in format for example like these: a=150,b=300,c=500 Then I will use that data for further calculating. For example: x=a+b+c Is that possible in Fortran? Is there some command or format for READ command? Please help!

Part and Inventory Search

Back
Top