using arrays in custom properties
Tariel Gogoberidze
PMDA at earthlink.net
Mon Mar 10 13:56:01 EST 2003
> Date: Mon, 10 Mar 2003 13:13:42 +0000
> Subject: Re: using arrays in custom properties
> From: Ben Rubinstein <benr_mc at cogapp.com>
>
> Jan,
>
> Thanks for this.
>
> To summarise, what it amounts to is that given an array custom property
> called "x", to be reinitialised,
> - set the customPropertySet of the object to "x"
> - create a new array
> - set the customProperties of the object to the new array
> - set the customPropertySet of the object to empty
or as alternative you can use
set the customkeys["x"] of object to empty
or
set the customkeys["x"] of object to NewArray
I guess one can delete the NAME of individual customPropertySet [x] from
objects custom property sets by doing the following...
get custompropertySets of object --(watch "s" at the end)
delete line 1 of it -- or whatever line you need to delete
set custompropertySets of object to it
but I never fully tested this myself
best regards
Tariel
More information about the use-livecode
mailing list