Set Variable or CustomProperty Names with and expression

Bob Sneidar bobsneidar at iotecdigital.com
Fri Aug 28 11:21:01 EDT 2015


I knew that once, forgot it, and am now reminded of it again. One of the many great reasons this list is the bomb. 

Bob S


> On Aug 12, 2015, at 13:16 , Mike Bonner <bonnmike at gmail.com> wrote:
> 
> You can use a custompropertyset using array notation too.
> 
> set the myproperty["uName"] of button 1 to "Fred is dead"
> set the myproperty["uBirthday"] of button 1 to "Hatched not born"
> 
> Then you can: put the myproperty["uName"] of button 1 and it'll say "fred
> is dead"
> 
> In this way you don't have to schlep the whole array in and out all the
> time, while still having the advantages of using array notation.
> 
> 





More information about the use-livecode mailing list