Page 1 of 1

How to adress two customPropertySet ? [Solved]

Posted: Thu May 15, 2014 9:14 am
by atout66
Hi to all,

After some research in the dictionnary and in this forum, i didn't find the answer to this problem:
I declare 2 customPropertySet that way (not sure if it's the right one :!: ):

Code: Select all

set the customPropertySet of image "doublon" of laCard to EMPTY
set the customPropertySet of image "doublon" of laCard to "cLePremierDoublon"
set the customPropertySet of image "doublon" of laCard to "cLeSecondDoublon"
I've read from Kaus and others in different post that customPropertySet are treated as array for card and stack.
Here, it's an image.
The <cLePremierDoublon> customPropertySet will store for example; cMyValue1 , cMyValue2 , cMyValue3.
Same for the <cLeSecondDoublon> customPropertySet
Question: if I want to get the value of <cMyValue2 > within <cLePremierDoublon>, how can I do that ?

Thanks in advance for your help, Jean-Paul.

Re: How to adress two customPropertySet ?

Posted: Thu May 15, 2014 11:31 am
by Klaus
Hi Jean-Pau,

my name is Klaus, with an L :D

And yes, you need to use array notation:
## property_set_name[Name_of_key]
...
put the cLePremierDoublon[cMyValue] of laCard into tCp_set_key1
put the cLeSecondDoublon[cMyValue] of laCard into tCp_set_key2
## etc...
...


Best

Klaus

Re: How to adress two customPropertySet ?

Posted: Thu May 15, 2014 2:06 pm
by atout66
Oh sorry Klaus, my finger run faster than my mind or it's the opposite ?
OK, so it's an array also, then thank you for your help and be sure there is no offense :wink:

Kind regards from Jean-Pau :mrgreen: