Thread: While Loop
View Single Post
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 04-28-2015 , 15:22   Re: While Loop
Reply With Quote #2

The file pointer keeps track of the position inside the file that it is currently at.
So when it reads a line, it's current position is at the end of that line. When you read a line again, it remembers where it left off and gets the next line.
Then you just repeat that process for the whole file.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline