Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Too many variables
Message
De
04/12/2009 10:56:35
Mike Yearwood
Toronto, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01436885
Message ID:
01437666
Vues:
50
>>Naomi,
>>
>>>How did you get laFiles first?
>>>
>>>You can not use ADIR() on a directory with more than 13K files.
>>
>>Yes you can. adir() simply won't contain any information about the excess files.
>>
>>
>>md C:\Temp\hugeadir
>>
>>for i = 1 to 20000
>>   @0,0 say i
>>   strtofile( transform( i ), "C:\Temp\hugeadir\a" + padl( i, 5, "0" ) + ".txt" )
>>endfor
>>local laFiles[1]
>>adir( laFiles, "C:\Temp\hugeadir\*.*" )
>>
>
>Thanks - I believe you.

I was mistaken when I wrote that originally. I was never able to repeat the problem. I still prefer not to make huge arrays however. :)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform