How to format a data ascii file in Fortran on RedHat linux?

  • Context: Fortran 
  • Thread starter Thread starter Fortran_begin
  • Start date Start date
  • Tags Tags
    Fortran
Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 3K views
Fortran_begin
Messages
1
Reaction score
0
it is my first post and It is very serious and urgent
I have a data ascii file composed of real and integer data.
these data are separated by commas.

would any of you write some code to change its format into this?
FORMAT(5I3,F7.2,F6.2,F8.3,F7.2,F10.3,2F7.2,F6.2,I4,f6.1,F6.2)

I am a beginner in Fortran programing and I use RedHat linux to compile it.

thank you


 
Physics news on Phys.org
We will not do your homework for you. You need to show us your work, show us where you're stuck, and ask for specific help.

- Warren