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 Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

use-livecode mailing list
Please visit this url to subscribe, unsubscribe and manage your subscription 

Reply via email to