Re: read backwards

2001-12-12 Thread Andrea Holstein
[EMAIL PROTECTED]: > > Hi, > > I have an ASCII file, running in DOS. > It is not a fixed file length. > Its lines of data have various lengths. (some lines are empty). > > The program reads line by line(), and processes the lines. > At a certain line I need to read the next line, > check what i

Re: read backwards

2001-12-11 Thread Jeff 'japhy' Pinyan
On Dec 11, [EMAIL PROTECTED] said: >The program reads line by line(), and processes the lines. >At a certain line I need to read the next line, >check what its contents are, and then readjust >the file pointer back to the first line. Since its not a fixed length, its >difficult using seek(). W