Tree Widget: hilitedValue?

Brian Milby brian at
Sun Jul 10 17:24:06 EDT 2022

If pPath[1] = “a” and pPath[2] = “b”
Then pArray[pPath] is the same as saying pArray[“a”][“b”]

I’m not sure when it was added.  It is relatively recent (7 or 8 I think, but not sure)


Sent from my iPhone

> On Jul 10, 2022, at 4:46 PM, J. Landman Gay via use-livecode <use-livecode at> wrote:
> On 7/9/22 7:11 PM, Brian Milby via use-livecode wrote:
>> function getValue pArray, pPath
>>    split pPath by comma
>>    return pArray[pPath]
>> end getValue
> I keep forgetting we can do that. It's cool, but I don't understand how it works. Splitting the path by comma produces a numbered array, and yet the function appears to ignore the numerical keys and return only the element values.
> How come?
> -- 
> Jacqueline Landman Gay         |     jacque at
> HyperActive Software           |
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

More information about the use-livecode mailing list