Storing arrays in a custom property
Mark Smith
mark at maseurope.net
Sun Feb 18 18:52:06 EST 2007
Ian, if you've managed to set the customPropertySet "uSolutionList"
to your array, then you don't need to make it the current set in
order to get at it.
so to create it:
set the customProperties["uSolutionList"] of this stack to someArray
and to get and set the individual elements:
get the uSolutionList[someKey] of this stack
set the uSolutionList[someKey] of this stack to someValue
If you want to get the keys of of set:
get the customKeys["uSolutionList"] of this stack
Best,
Mark
On 18 Feb 2007, at 23:32, Ian McKnight wrote:
> set the custompropertyset of this stack to "uSolutionList"
> put "6666" into tkey -- should have 6+6+6+6,! associated with it
> get the uSolutionList[tKey] of this stack
> put it into tAns
> put tKey&";"&& tAns -- should output 6666; 6+6+6+6,! to msg
More information about the use-livecode
mailing list