Indeed, or you can force evaluation to an array using brackets. put the keys of (the properties of btn "File" of grp "mcp_menu" of cd 1 of stack "old_cp")
On Fri, Oct 23, 2015 at 10:09 PM Mark Schonewille < [email protected]> wrote: > Hi, > > Actually, a property isn't an array. You have to put the properties > property into a variable to make it an array. > > Mark Schonewille > http://economy-x-talk.com > > Buy the most extensive book on the > LiveCode language: > http://livecodebeginner.economy-x-talk.com > > Op 10/23/2015 om 23:07 schreef Dr. Hawkins: > > On Fri, Oct 23, 2015 at 1:53 PM, Peter Haworth <[email protected]> wrote: > > > >> The properties property is an array so a simple put will not display > >> anything. > >> > > Yes, but > > > > put the keys of the properties of btn "File" of grp "mcp_menu" of cd 1 > of > > stack "old_cp" > > > > > > > > also comes up empty. > > > > I found this when setting the properties of one button to that of > another; > > a line of code that got used for a year or so on every single version > > change. It bombs out of the script with only an error in the message > box. > > > > > > > > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
