in reply to Re^2: Opening random files then reading random lines from file.
in thread Opening random files then reading random lines from file.

Correct.

These pesky "off-by-one" errors (the most common error in programming) are indeed annoying! But yes, you are correct! Thanks!

previous post updated with comment.

  • Comment on Re^3: Opening random files then reading random lines from file.