I wonder if this is something we can fix. At the moment "the keys" is hard-coded to allow the drag/clipboard data properties as source arrays.
There's probably a parsing ambiguity involved in having an object property source that is not currently obvious to me. On Fri, Oct 23, 2015 at 10:15 PM Ali Lloyd <ali.ll...@livecode.com> wrote: > 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 < > m.schonewi...@economy-x-talk.com> 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 <p...@lcsql.com> 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 >> 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