Saving arrays and custom property sets

stephen barncard stephenREVOLUTION2 at barncard.com
Tue Jan 6 14:57:56 EST 2009


I've used this feature a little bit, for a 'thing' that saves and retrieves
multiple fields at a time locally for re-insertion later in another record.
The multi dimensional arrays can be stored to/from a custom property set,
but accessing any multidimensional custom property beyond the first level
(propertyset-->property-->) is not allowed at this time.  But working with
this even in this form is totally usable.

 Use the standard syntax to set a custom property set to an array and back.
  I'm assuming the rev team will enable multi-dimensional prop storage soon,
as it's already used for gradients, and of course the above mentioned
storage of arrays.  One problem holding things up might be that a new custom
property editor needs to be built for this.

2009/1/6 David Bovill <david at architex.tv>

> >From the docs:
>
> Saving of array valued custom properties
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > Custom properties that have arrays as values are now saved in the stack
> > file.
> >
> > If such a stack file is loaded into a version of Revolution that does not
> > support multi-dimensional arrays, any custom properties with an array
> value
> > will not be ignored.
> >
>
> So how does this work with custompropertyset syntax etc?
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
Stephen Barncard
-------------------------
San Francisco



More information about the use-livecode mailing list