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         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

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

Reply via email to