put the cKweto["landscape"] of this stack into sLandscape put sLandscape["height"] into ...
I don't think you can retrieve array elements like you were trying to do. If I'm wrong, someone more versed will surely correct me soon enough though :) Thanks, Brian On Mon, Jan 22, 2018 at 11:36 PM Nicolas Cueto via use-livecode < use-livecode@lists.runrev.com> wrote: > My stack has a custom prop "cKweto" which has various elements. For now, > elements (arrays?) are single. But next I want to add multidimensional > elements (arrays?). The proble is I do not how to refer to those > multidimendional elements, say within a button script. > > For single elements, no problem. E.g., a value (360) is returned when my > script has: > > put the cKweto["height_landscape_default"] of this stack > > But when I try ... > put the cKweto["landscape","height"] of this stack > ... or > put the cKweto["landscape"]["height"] of this stack > .. no values are retrieved, even though I can see them in the Property > Inspector. > > What should I be doing? > > Thank you. > > -- > Nicolas Cueto > _______________________________________________ > 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