Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adir Limit
Message
De
24/11/2015 14:04:08
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
24/11/2015 11:55:24
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01627772
Message ID:
01627860
Vues:
69
>>>Hi
>>>Am doing an Adir of a folder (As in X=Adir(MyArray,"MyFolder\*.*") and am getting an : Invalid Subscript Range
>>>I can Adir other folders fine but this one has 30,000 files in it and it looks like there may be a limit (VFP8)
>>>Unfortunately, I don't have control over the files in the folder and also they are all similar and I need to do some post processing on them so need to loop down one by one
>>>
>>>Anybody know first of all if there is a limit, and if so, any other ways of getting files in a folder and looping through each one
>>
>>The limit is in 65000 elements in an array - given the adir() returns 5 columns, that's 13000 files. The limitation was removed in VFP9.
>>Use sys(2000) or filesystem object.
>
>try
>DIMENSION x[70000000]

DIMENSION x[39570173]

is the largest I got on my machine.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform