Quote:
Originally Posted by ElphieFabalaFae
Thanks. I had read that already, but it didn't show, or even help me understand, how I find a certain line of text within the file and then select certain lines, that may not be consecutive, and that are limited to two lines, instead of calling the entire file, if that makes sense?
|
If you are going to use a file that stores information that is needed to login, then that file must have some order to it, otherwise it won't make any sense.
So as long as your file has some order to it, then reading a record should be as simple as reading in so many lines and then checking the appropriate lines for the desired information.
What's hard about that?