How to load a property with an Array?

Monte Goulding monte at sweattechnologies.com
Wed Jul 14 23:56:52 EDT 2004


>>>I would like to do something like:
>>>
>>>  put "dog,13 cat,12 rat,129" into myPetInventory
>>>  split myPetInventory by " " and ","
>>>  set the pets of this card to myPetInventory
>>
>> Try set the customProperties["pets"] of this card to myPetInventory
>>
>> PS... you have a rat problem ;-)
>
>Nah. That's only 10.75 rats per cat. No problem, assuming the dogs don't
>delete any of the cats.

And that may depend entirely on the ratio of small yappy dogs that look like
rats to real cat eating dogs ;-)

Ofcourse some dogs eat rats also...

Cheers

Monte



More information about the use-livecode mailing list