Subject Re: ?array
From Bruce Beacham <>
Date Tue, 13 Nov 2018 20:19:46 +0000
Newsgroups dbase.getting-started

My idea is that you run through the array

for s= 1 to alen(a, 1)
        file_details = a[s]
        <create treeitem from file_details>

and create treeview items.    If you come across a directory, you create
children for this treeitem.


On 12/11/2018 21:57, charlie wrote:
> 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