Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to concatenate SDF files?
Message
 
 
To
27/09/2002 16:59:16
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00705004
Message ID:
00705480
Views:
25
Sorry, there was incomplete line in FOR statement. It should be
FOR i=1 TO ALEN(laFileList,1)
  STRTOFILE(FILETOSTR(lcDir + laFileList[i,1]), lcResultFile, .T.)
ENDFOR
BTW, which line gave the error?

>
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.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform