Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADIR() on a very large directory
Message
From
10/12/2004 05:49:47
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00967881
Message ID:
00968239
Views:
14
Process them one-by-one like so:

from the help file:
SYS(2000) - File Name Wildcard MatchSee Also
LOCFILE( ) | SYS( ) Functions Overview
Returns the name of the first file in alphabetic order by file name and extension, that matches a file name skeleton.

SYS(2000, Skeleton [, 1])
Return Values
Character

Parameters
Skeleton 
Specifies the file name skeleton. The file skeleton can contain the wildcards ? and *. 
1 
Returns the name of the next matching file. 
Remarks
The empty string is returned if a matching file can't be found.

Example
? SYS(2000,'FOX.*')
? SYS(2000,'FOX.*',1)
See Also
LOCFILE( ) | SYS( ) Functions Overview
hope this helps

>Just checked VFP 9.0 help file and states this array limitantions:
>
>"Normal: 2 gigabytes Member array: 2 gigabytes Array of member objects: 65,000"
>
>Wwhich I understand that the 65,000 element limit continues
>
>
>
>>Hey Jorge,
>>
>>Can you wait one more week for VFP9 where the maximum number of array elements can be much bigger than before?
>>
Peter Cortiel
Previous
Reply
Map
View

Click here to load this message in the networking platform