Page 1 of 1

Tree View building the array

Posted: Sun Jul 07, 2019 11:29 pm
by dntknwjck
The attached zip file contains the stacks necessary to run this example program TreeView-Folders.
Which does what the name implies, for Windows and Linux. This is something I put together to figure out how Tree View and Arrays work.
My question is about the command populateArray in folders.livecodescript.
Is there a way to build the array using a recursive function or is there a better way to build the array than what I have done?
Any other suggestions about the code would be appreciated.

Thanks