in reply to Re^2: Reading selected portion of a data file
in thread Reading selected portion of a data file

"I have figured out a logic ... but I need some help"

In such a case, please UPDATE (and NOT by overwriting your previous) the original node, or add info in a reply to the original node, with a note in the original pointing to the reply.

and, re "seek"

NO; not unless you know the "offset (re which, see above) -- the number of bytes into the file at which your "certain line" begins.

  • Comment on Re^3: Reading selected portion of a data file

Replies are listed 'Best First'.
Re^4: Reading selected portion of a data file
by Anonymous Monk on Jul 11, 2006 at 04:24 UTC

    I have added the code and comments in the original node. Please have a look and suggest for improvements