Tree Widget: hilitedValue?

Mark Waddingham mark at livecode.com
Mon Jul 11 09:25:36 EDT 2022


On 2022-07-10 21:33, Richard Gaskin via use-livecode wrote:
> Brian Milby wrote:
> 
>> You could also turn the path into an array (but lose the error
>> checking above):
>> 
>> function getValue pArray, pPath
>>   split pPath by comma
>>   return pArray[pPath]
>> end getValue
> 
> Thanks, Brian. I keep forgetting we can use an array as an element 
> specifier.
> 
> Has that been around the whole time, or was it added in recent years?

I added it before 6.0 - probably in 4.5 or 5.

Warmest Regards,

Mark.

-- 
Mark Waddingham ~ mark at livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps



More information about the use-livecode mailing list