Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Greg Green
  Where is Greg Green?
 
 Georgia - United States
 Greg Green
 To: Cecil Champenois
  Where is Cecil Champenois?
 Little Elm
 Texas - United States
 Cecil Champenois
 Tags
Subject: RE: ADIR() Limitations
Thread ID: 416156 Message ID: 416160 # Views: 43 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Databases, Tables and SQL Server
Date: Monday, December 22, 2014 9:02:11 PM         
   


> >
> > No, you must be doing something wrong.
> >
> > There's a fine line between helping and adding to the confusion.
> >
> > How to create sample data
>
> Yeah, you are right. I see that ADIR is also picking up the . and .. as if they were files. So, the subscript ends up out of range.
>
> Cecil Champenois, Jr.

You have to look at the file mask value in ADIR and the file type (directory or file). In the result array of values the file type is given by column 5. But an array is limited to 65K elements or memory available.

ENTIRE THREAD

ADIR() Limitations Posted by Cecil Champenois @ 12/22/2014 7:36:30 PM
RE: ADIR() Limitations Posted by Tore Bleken @ 12/22/2014 7:45:21 PM
RE: ADIR() Limitations Posted by Cecil Champenois @ 12/22/2014 8:50:46 PM
RE: ADIR() Limitations Posted by Greg Green @ 12/22/2014 9:02:11 PM
RE: ADIR() Limitations Posted by Cecil Champenois @ 12/22/2014 9:56:15 PM
RE: ADIR() Limitations Posted by Ali Koumaiha @ 12/22/2014 10:37:27 PM