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
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to