Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR Doesn't Respect Arrays
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00265065
Message ID:
00265077
Vues:
19
>>
>>        nNumFiles = adir(arFileList,'e:\src\projects\t1\*.*')	
>>
>>
>>It works fine, but I can't hardcode my paths. Help?
>
>Is it possible that the array element has not been alltrimed. I attempted similar code and it worked fine.
>
>
>DIMENSION aFileDir[1]
>aFileDir[1] = "c:\temp"
>?ADIR( aFileList, aFileDir[1] + "*.*" )
>
>
>Returns 10 on my machine.


Yes, it was an alltrim adir thing. I told you my code was stinky. :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform