Hi Tom

That wouldn't work because item is the assigned object in the
dictionary not the key, so what you would actually be saying is:
newDict[item]=myDict[item], where item would be the key reference in
newDict, while myDic[item] is undefined.

I eventually gave up trying to iterate through a dictionary & assign
its child values. The other alternative was to create an array of
keys, iterate those & assign the dictionary values to the new dictionary.

Cheers
Tracy



--- In [email protected], Tom Chiverton <[EMAIL PROTECTED]>
wrote:
>
> On Friday 30 Nov 2007, polestar11 wrote:
> > for each(item in myDictionary) {
> > newDict[?] = item;
> > }
> 
> newDict[item]=myDict[item];
> 
>


Reply via email to