On Sun, May 25, 2008 at 9:57 AM, Dave Housel <[EMAIL PROTECTED]> wrote: > Hi Brett, > > This is called a "C-Like" language by the manufacturer of the Operator > Interface (Red Lion Controls, Inc) > > Thanks for your response........Dave > ----- Original Message ----- > From: Brett McCoy > To: [email protected] > Sent: Sunday, May 25, 2008 9:20 AM > Subject: Re: Re[c-prog] adFileLine Question > > > 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 > > > > > [Non-text portions of this message have been removed] > > > ------------------------------------ > > To unsubscribe, send a blank message to <mailto:[EMAIL PROTECTED]>.Yahoo! > Groups Links > > > >
-- ------------------------------------------------------------ "In the rhythm of music a secret is hidden; If I were to divulge it, it would overturn the world." -- Jelaleddin Rumi
