Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to concatenate SDF files?
Message
 
 
À
27/09/2002 16:59:16
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00705004
Message ID:
00705480
Vues:
26
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform