directory tree -> array
Bob Sneidar
bobsneidar at iotecdigital.com
Wed Jan 22 13:34:24 EST 2020
The tree view widget has an array at it's core. I seem to remember someone creating a stack that uses the tree view widget to represent a folder structure. You should be able to simply extract the array from that. I'll poke around.
Bob S
> On Jan 22, 2020, at 10:21 , Bob Sneidar via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> I thought someone created a handler for this? It requires iteration.
>
> Bob S
>
>
>> On Jan 22, 2020, at 10:17 , Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
>>
>> I stumbled across a code challenge for y'all, one that seems seductively simple but I don't think it is:
>>
>> What is the simplest way to build an array that reflects the files and folders within a given folder?
>>
>> There's a discussion about this here:
>>
>> https://forums.livecode.com/viewtopic.php?f=7&t=33565
>>
>> --
>> Richard Gaskin
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list