Subject Re: ?array
From charlie <tm@tc.com>
Date Mon, 12 Nov 2018 16:57:51 -0500
Newsgroups dbase.getting-started

Hi Bruce... Thanks for the suggestion.  Really new at this.  I don't understand how you display the contents of c.  Would that be something like getfile()?

Bruce Beacham Wrote:

> On 12/11/2018 21:10, Charlie wrote:
> > I am trying to find what tables are located on a flash drive
> > directory.  (Not associated with a database.)   I would like to
> > identify them and display the content of the directory so one or all
> > can be chosen to import.
>
> You might try creating a treeview by examining the array a after doing this:
> a = new array()
> a.dirext("c:\*.*")
>
> Whenever you encounter a row which has the attribute "D" in column 5 you
> would iterate the above code and create a new treeview level.
>
> A treeview has checkmarks.
>
>
> Bruce Beacham