That's one where you'd have to open the file low level.
hFile=FOPEN("filename")
nLines=0
DO WHILE NOT FEOF(hFile)
cLine=FGETS(hFile)
nLines=nLines+1
ENDDO
FCLOSE(hFile)
nLines is the number of lines found.
>Erik:
> Is a way I can find the number of lines in a text file ?
>thanks.
>sherry