inserting Data into CustomProp array

Sannyasin Brahmanathaswami brahma at hindu.org
Sat Jan 30 09:13:05 EST 2016


Property sets appear easer to get and set across “sessions” (different times during dev) than putting an array into a property. I don’t see you could set just one element of tArray  if it was contained in a property without taking it out and putting it back in.

Am I wrong?


On January 29, 2016 at 9:17:26 PM, J. Landman Gay (jacque at hyperactivesw.com<mailto:jacque at hyperactivesw.com>) wrote:

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.


More information about the use-livecode mailing list