Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

reading from data file in a loop

Sirat_S_
Beginner
229 Views

Hello Forum

please tell me how to read from a data file in a loop . loop implies its a time data i.e. a block of data, to be read at several time steps. the important concern is how shall the cursor remain at the start of new block of data each time the data file is accessed.

please guide.

 

Regards

0 Kudos
1 Reply
TimP
Honored Contributor III
229 Views

Sequential file read position should be retained as long as the file is kept open without rewind.

0 Kudos
Reply