lnIn = FOPEN(lcFileName)
>DOWHILE NOT FEOF(lnIn )
> lcLine = FGET(lnIn,1024)
> * Processing here
>ENDDO
>FCLOSE(lnIn)
>
Make sure that second parameter in FGET is bigger than longest record in the file. > >>I need to read a flat file but this file may be too big for filetostr. >>Is there a way to read a line at the time ? >> >>Thanks
Many thanks Sergey. It works very fine!
Eric Crespin Consultant PC PLUS Software Inc. www.pcplus.ca