On Sun, May 25, 2008 at 9:04 AM, Dave Housel <[EMAIL PROTECTED]> wrote:

> I am working with a program which by design must read sequential lines of a
> .csv file. An exerpt of the code is listed below.

What language is this? Pascal? Or is it pseudo-code? It doesn't really
look like C or C++. If it's not C or C++, then your question about the
code sample is off-topic.

But as a general knowledge kind of thing, when you open a file, there
is a pointer that points at the current location in the file. When you
read data in, the pointer is updated to point to where you left off.
In the case of text files, which are generally read line by line, the
pointer gets updated to point at the beginning of the next line after
you read a line of text in. If there is not a next line of text, then
you have reached the end of the file.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
 If I were to divulge it, it would overturn the world."
 -- Jelaleddin Rumi

Reply via email to