Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I read files without error no 31 ?
Message
De
07/08/2008 09:29:46
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01337161
Message ID:
01337206
Vues:
9
>Thank you for this info. Yes I guess 65530 limititaion about array but I didn't know it has 5 element. BTW, I can't switch to VFP9 untill end of year. Anyway, thank you for reminder VFP9.

First, no, it is NOT 65530 - strangely, the limitation is exactly 65000 elements.

Second, the adir() command creates a two-dimensional array; a row for each file. The 5 columns include filename, date of last modification, attributes... well, better look it up. So the real limitation in this case is 65000 / 5 = 13000 files.

I think Tore gave you the correct solution, but I wanted to explain why adir() didn't work in your case.

Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform