Saving arrays and custom property sets

2009-01-06 Thread David Bovill
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@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving arrays and custom property sets

2009-01-06 Thread Trevor DeVore

On Jan 6, 2009, at 2:30 PM, David Bovill wrote:

So how does this work with custompropertyset syntax etc?


put 1 into theA[value 1]
put 2 into theA[value 2}

set the uArray of this stack to theA

put the uArray of this stack into theB

answer the keys of theB

Regards,

--
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com-www.screensteps.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: Saving arrays and custom property sets

2009-01-06 Thread stephen barncard
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 da...@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@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
___
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution