Keys of a custom property array

J. Landman Gay jacque at
Sun Mar 3 01:36:45 EST 2013

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         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list