I had no clue you could do that! Thank you! On Thu, Apr 26, 2018 at 8:43 AM, Brian Milby via use-livecode < use-livecode@lists.runrev.com> wrote:
> on mouseUp > put "answer" into tA["firstkey"]["secondkey"] > put "firstkey" into tPath[1] > put "secondkey" into tPath[2] > put tA[tPath] > end mouseUp > > On Thu, Apr 26, 2018 at 9:16 AM, Alex Tweedly via use-livecode < > use-livecode@lists.runrev.com> wrote: > > > > > I have a (vague) memory that there is some way to do this ... but can't > > remember and haven't had any luck searching for it .... > > > > > > I have a multi-dimension array, say created by > > > > put "answer" into tArray["firstkey"]["secondkey"] > > > > Is there some way or format to specify the array elements using the > "path" > > of the keys, rather than each one at its own level) ? > > > > i.e. something like (but obviously not exactly) > > > > put tArray["firstkey,secondkey"] > > > > where each item/part of the key is interpreted s the next level in the > > multi-dimension. > > > > Thanks > > > > Alex. > > > > > > _______________________________________________ > > 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 > _______________________________________________ > 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 > _______________________________________________ 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