Moving Arrays Into and Out of Custom Property Sets |
|
So there must be some easy way to move whole arrays into and out of custom property sets, right? Right!put 100 into Scores["Ken"] -- Adding an element to an array variable set the Scores["Ken"] of this stack to 100 -- Adding a custom property set element
Easy, no? This makes a custom key (element) in the custom property set for every key (element) in the array variable. So that means that:set the customProperties["uScoresSet"] of this stack to tScoresA
And to get that same custom property set and put it into a different array variable called tNewScoresA, I would do this:tScoresA["Ken"] = the uScoresSet["Ken"] of this stack
put the customProperties["uScoresSet"] of this stack into tNewScoresA
Posted 9/16/2007 by Ken Ray