On 3/3/13 12:26 AM, Mark Wieder wrote:
Jacque-

Saturday, March 2, 2013, 10:06:01 PM, you wrote:

If I store an array as a custom property, is there a way to get its keys
without putting the whole thing into a variable first?

Sure, but it's roundabout and I can't guarantee that the engine
doesn't end up doing that anyway.

set the custompropertyset of <object> to <array>
put the customproperties of <object> into keyList
set the custompropertyset of <object> to empty


In that case I think I'll just use a property set to begin with. I sort of figured I had to, but was wondering if there was some slick trick that hadn't occured to me.

--
Jacqueline Landman Gay         |     jac...@hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to