lcDir = < Some Directory >
>lcResultFile = < ... >
>DIMENSION laFileList[1]
>= ADIR(laFileList, lcDir + "*.txt")
>ERASE (lcResultFile)
>FOR i=1 TO ALEN(
> STRTOFILE(FILETOSTR(lcDir + laFileList[i,1]), lcResultFile, .T.)
>ENDFOR
>
Hi Sergey:
I tried the above code, but get a message saying "Variable "l" is not found. I have not declared any variable "l". What could be going wrong? Thanks.
- Ravi
True greatness consists in being great in little things.
- Charles Simmons