Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADIR, SYS(2000) and Filer all returned wrong results
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01173982
Message ID:
01174187
Vues:
16
This message has been marked as a message which has helped to the initial question of the thread.
>>Yes, but SUS(2000) stops when find a file, Filer build a collection :-)
>>
>Right, but if we're doing it in the DO WHILE loop, should they be equavalent?

Only test will tell.
I have no folder with so many files in it to test.
But you could try:
m1 = DateTime()
oCollection = NEWOBJECT([Collection])
lcFileName = SYS(2000, [........])
DO WHILE NOT EMPTY(lcFileName)
   oCollection.Add(lcFileName,JUSTFNAME(lcFileName))
   lcFileName = SYS(2000, [........],1)
ENDDO
? DATETIME() - m1

*** Test fro Filer here
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform