arrays in custom properties--not possible?
Dave Cragg
dcragg at lacscentre.co.uk
Tue Sep 17 17:18:01 EDT 2002
At 11:12 am -1000 17/9/02, Sannyasin Sivakatirswami wrote:
>on storePrefs
> repeat with x = 1 to (the number of fields of this stack)
> put fld x into gPrefsArray[the short name of fld x]
> end repeat
> set the cPrefs of this stack to gPrefsArray
>end storePrefs
>
>the above fails, apparently because the attempt to set a custom
>property to an array is unacceptable. Is this a known limitation?
>"Tell me its not so..."
I think you want this:
set the customProperties["cPrefs"] of this stack to gPrefsArray
Cheers
Dave
More information about the use-livecode
mailing list