Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Function ADIR()
Message
De
10/12/2003 14:02:13
 
 
À
10/12/2003 13:21:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00857766
Message ID:
00857796
Vues:
27
This message has been marked as a message which has helped to the initial question of the thread.
>I have had a problem with Adir(). I am trying create a array with all files JPG in one diretory. This directory have 15383 images. Whem I create this array, fox give me this message: "Invalid Subscript reference".
>What I can do to read all files in this directory?


Boa tarde Rômulo.

That's is because you are hitting the limit of VFP array elements.

One way around it is to use WSH. The late great Ed Rauh wrote a neat sample of directory recursion that will give you an idea:
http://fox.wikis.com/wc.dll?Wiki~WindowsScriptingHost


Alex Feldstein, MCP, Microsoft MVP
VFP Tips: English - Spanish
Website - Blog - Photo Gallery


"Once again, we come to the Holiday Season, a deeply religious time that each of us observes, in his own way, by going to the mall of his choice." -- Dave Barry
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform