Brett McCoy wrote:
> 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

The code is definitely Pascal or Delphi.  It should be ported to a 
language that isn't "dead" (Delphi is still kicking but is on its last leg).

-- 
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197

*NEW* MyTaskFocus 1.1
Get on task.  Stay on task.

http://www.CubicleSoft.com/MyTaskFocus/

Reply via email to