Assefaw Hadish Gebremedhin wrote: > > > Are there intrinsic fortran90 functions that return end-of-file and > end-of-line values in reading a sequentially accessed file? > I mean something similar to eof and eol in c/c++? Not exactly: you must use the IOSTAT= argument in the READ statement to get this information. -- +-----------------------------------+-----------------------------+ | Pierre Hugonnet | mail....CGG | | | 1, rue Leon Migaux | | Seismic Data Processing R&D | 91341 MASSY cedex | | | FRANCE | | COMPAGNIE GENERALE DE GEOPHYSIQUE | phone...(33/0) 164 47 45 59 | | Massy processing center (France) | fax.....(33/0) 164 47 32 49 | | http://www.cgg.com | [log in to unmask] | +-----------------------------------+-----------------------------+ My opinions are not necessarily those of CGG %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%