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!

Readint TAB separated values

Status
Not open for further replies.

Feddozz

Mechanical
Joined
Dec 15, 2005
Messages
16
Location
GB
HI,
I'm trying to read a row of real values in scientific notation separated with TABs.
If they were separated by spaces I could have specified
Code:
 FORMAT(F10.3,F10.3,...)
but i don't know what to do in this case.
Thanks
 
Try using an unformatted read statement:
read(40,*) (A(I),I=1,N)

 
Hi Prost,

Thanks for your advice. You are right, the unformatted read works fine with the TAB separated values.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top