>I understand how to read a complete text file in a variable but I need to read it line by line. I am playing around with FGETS but without success :-(
>
>thanks for any hint
>Eric
Use filetostr to get the text and alines to create a array with one line by row :-)
lcFileText=FILETOSTR(cFileName)
nLines=ALINES(aTextArray,lcFileText)
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca