>Thanks - fgets() seems to be the way to go. How would I get it to read each line in a file to a variable? I mean a text file isn't a table and I won't be able to do a Do While !eof() skip Enddo type situation on each line...
Hi John
Why not
CLEAR
lcTxtFile = GETFILE([txt],[Your txt])
IF NOT EMPTY(lcTxtFile)
ALINES(myarr,FILETOSTR(lcTxtFile))
DISPLAY MEMORY LIKE myarr
ENDIF
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst