Hello,

I want to read a file in fortran from specific line numbers. For example if I want to read line no. 500 from a file, is there a way to do it directly rather than going through the first 499 lines? Thank you.

Nikhil

If the file has variable length lines, no.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.