Custom property set

Sarah Reichelt sarah.reichelt at gmail.com
Tue May 29 22:05:37 EDT 2007


Thanks Andre,

I knew there was a way :-)
For the benefit of anyone else struggling with this, here is what I
ended up with:

    set the custompropertyset of this stack to "cStoredData"
    put the customkeys of this stack into tKeys
    set the custompropertyset of this stack to ""

Setting the customPropertySet to empty puts it back to the default.

Cheers,
Sarah


On 5/30/07, Andre Garzia <soapdog at mac.com> wrote:
> Hello Sarah,
>
> first set the custompropertyset to "cStoredData"
>
> then get  the customkeys of the stack.
>
> it's not the keys, it's the customkeys! :D
>
> PS: I do think you need to change the set, you can only get the
> customkeys of the current set of the stack...
>
> cheers
> andre
>
> On May 29, 2007, at 10:06 PM, Sarah Reichelt wrote:
>
> > Hi All,
> >
> > Having a total brain freeze here and can't work out how to get the
> > keys of an array which is a custom property set.
> >
> > I have a custom property array: cStoredData[whatever] with about 12
> > blocks of data stored in this array e.g. cStoredData["Temperature"],
> > cStoredData["pH"] etc.
> > How do I get a list of the keys i.e. Temperature, pH etc.?
> >
> > I've tried:
> >    put the keys of the cStoredData of this stack
> > but that won't compile.
> >
> > TIA,
> > Sarah



More information about the use-livecode mailing list