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

Matthias Rebbe matthias_livecode_150811 at m-r-d.de
Wed Aug 2 13:46:48 EDT 2017


Thanks Klaus

Tried your  suggestion already before posting, but that did not work. Therefore I thought i have to use value or so.

But i just had a “little” error in my script. I should check my code twice before asking.

Thanks again.

Matthias





Matthias Rebbe
+49 5741 310000
‌matthiasrebbe.eu <http://matthiasrebbe.eu/>‌

> Am 02.08.2017 um 19:25 schrieb Klaus major-k via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
> 
> Hi Matthias,
> 
>> Am 02.08.2017 um 19:20 schrieb Matthias Rebbe via use-livecode <use-livecode at lists.runrev.com <mailto:use-livecode at lists.runrev.com>>:
>> 
>> Hi,
>> 
>> let´s say a card has a custom property name cMyProp.
>> The variable tMyVar contains the word “cMyProp”
>> How do i get the value of the custom property using the variable tMyVar?
> 
> ...
> answer the tMyVar of this cd
> ...
> :-)
> 
>> Regards,
>> Matthias
> 
> Best
> 
> Klaus
> 
> --
> Klaus Major
> http://www.major-k.de <http://www.major-k.de/>
> klaus at major-k.de
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list