how to get the value of a custom property if the name of the cProperty is in a variable?

J. Landman Gay jacque at hyperactivesw.com
Tue Aug 8 11:09:50 EDT 2017


In what circumstance would it be necessary to quote the property name?


On August 8, 2017 6:05:21 AM Mark Waddingham via use-livecode 
<use-livecode at lists.runrev.com> wrote:

> What doesn't work at the moment is if you have a var name which is
> quoted:
>
>    local catness
>    put "minimal" into catness
>    set the "catness" of me to "very much"
>    get the customProperties of me
>    put the keys of it
>
> Will result in a key 'minimal' and *not* 'catness' - which is perhaps
> not what would be expected.

--
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com






More information about the Use-livecode mailing list