inserting Data into CustomProp array

J. Landman Gay jacque at
Sat Jan 30 02:17:08 EST 2016

On 1/29/2016 11:15 PM, Sannyasin Brahmanathaswami wrote:
> apparently this:
> on mouseUp
>     put the rect of the last image into tRect
>     set the uMyEffects["startsize"] of the last image to tRect
>     CheckEffects
> end mouseUp
> created a custompropertyset

If you want the array in a single custom property rather than in its own 
property set, first create the array and then store it:

   put the rect of the last image into tArray["startsize"]
   set the uEffects of the last image to tArray

To get things back out:

   put the uEffects of this cd into tArray
   put tArray["startsize"]

Property sets work too, so it's mostly a matter of personal preference.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list