Q on Accessing multi-dimension arrays.

Niggemann, Bernd Bernd.Niggemann at uni-wh.de
Thu Apr 26 13:17:26 EDT 2018


Alex Tweedly wrote:

>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) ?



If I understand correctly that you want then

-------------------------
put "style,hidden" into tPathToHidden
split tPathToHidden by comma

put "true" into tScriptA[i][tPathToHidden]
------------------------
lets you put the constant part of the path into a variable


I learned this from Mark Wieder

Kind regards
Bernd






More information about the Use-livecode mailing list