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?

--
 Richard Gaskin
 Fourth World Systems
 Software Design and Development for the Desktop, Mobile, and the Web
 ____________________________________________________________________
 ambassa...@fourthworld.com                http://www.FourthWorld.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