Q on Accessing multi-dimension arrays.
ambassador at fourthworld.com
Thu Apr 26 15:07:27 EDT 2018
Mike Bonner wrote:
> 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 at lists.runrev.com> wrote:
>> on mouseUp
>> put "answer" into tA["firstkey"]["secondkey"]
>> put "firstkey" into tPath
>> put "secondkey" into tPath
>> put tA[tPath]
>> end mouseUp
I'm not entirely sure why it works, but it appears to.
tPath is a flat array - what is the logic of treating flat arrays as
sequential substitutes for depth queries?
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the Use-livecode