|Pathologically Eclectic Rubbish Lister|
Re: Help with for loopby BrowserUk (Pope)
|on Sep 12, 2013 at 02:22 UTC||Need Help??|
What am I doing wrong?
You are expecting to be able to re-read your file each time you iterate your for loop. But that is not how IO works (in any language).
Files read from beginning to end and then stop.
If you want to re-read your file each time around your for loop, you will need to either:
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.