CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

how to files with 4 characters in Fortran

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 9, 2012, 21:55
Default how to files with 4 characters in Fortran
  #1
New Member
 
Join Date: Dec 2012
Posts: 3
Rep Power: 4
sp_song is on a distinguished road
Hello,

I have a question on how to read a list of data files using fortran 77:

For example, I have 200 files:

data.0100.inp
data.0101.inp
data.0102.inp
.....
data.0299.inp

I don't remember how to handle the characters 01** in fortran 77. Could you please comment on this?

Thanks a lot!
sp_song is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CGNS fortran code compiling with intel visual fortran xe dokeun Main CFD Forum 1 April 5, 2012 22:01
Fortran 90 faster than C/C++ B. R. Guirguis Main CFD Forum 48 March 6, 2006 14:49
Results saving in CFD hawk Main CFD Forum 16 July 21, 2005 21:51
Fortran: Seeking data in files. cfd guy Main CFD Forum 6 May 23, 2002 23:30
Why Favoring Fortran over C/C++? Zi-Wei Chiou Main CFD Forum 35 September 26, 2001 10:34


All times are GMT -4. The time now is 19:02.