Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR, SYS(2000) and Filer all returned wrong results
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01173982
Message ID:
01174187
Views:
15
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform