How to load a property with an Array?

Monte Goulding monte at sweattechnologies.com
Wed Jul 14 22:58:44 EDT 2004


>
>Hi,
>
>Can I set an array directly into a custom property or do I have to 
>'combine' the array before setting it and then 'split' it after I get 
>it in order to use it as an array?
>
>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 ;-)

Cheers

Monte


More information about the use-livecode mailing list