arrays in custom properties--not possible?
dvk at dvkconsult.com.au
Tue Sep 17 22:00:01 CDT 2002
On Wednesday, Sep 18, 2002, at 07:12 Australia/Sydney, Sannyasin
> 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..."
"Tis so..." except as Dave Cragg pointed out. Your other alternative is
to use a custom property as an array, directly, rather than setting it
to an array. So, refer to cPrefs[the short name of field x] and skip
the gPrefsArray bit.
> Himalayan Academy Publications
> Sannyasin Sivakatirswami
> Editor's Assistant/Production Manager
> katir at hindu.org
> www.HinduismToday.com, www.HimalayanAcademy.com,
> www.Gurudeva.org, www.hindu.org
> Read The Master Course Lesson of the Day at
> use-revolution mailing list
> use-revolution at lists.runrev.com
More information about the use-livecode