Storing an Array as a Custom Property

Richard Gaskin ambassador at
Sat Oct 2 09:18:11 EDT 2010

Claudi Cornaz wrote:

> It works if you create it as one var so put "gaskin[richard]" into
> tPropSet
> set the tPropset of tObj to tValue
> Or you can do
> on mouseUp
>       put "gaskin" into tPropset
>       put "[richard]" after tPropSet
>       set the tPropSet of tObj to tValue
> end mouseUp
> I use this the whole time


It hadn't occurred to me to put the entire array notation string into a 
variable.  And it avoids the performance penalty of "do" -- good stuff. 

  Richard Gaskin
  Fourth World
  LiveCode training and consulting:
  Webzine for LiveCode developers:
  LiveCode Journal blog:

More information about the Use-livecode mailing list