• Welcome to PlanetSquires Forums.
 

PB PowerCollection

Started by Richard Kelly, October 23, 2016, 06:12:22 PM

Previous topic - Next topic

José Roca

I don't know how the Dictionary object works internally. The proper way to get an item is to use pDic.Item(key).

Richard Kelly

Quote from: Jose Roca on January 22, 2017, 09:27:11 PM
I don't know how the Dictionary object works internally. The proper way to get an item is to use pDic.Item(key).

The wrapper I'm working on not only wraps your class, but includes, as best as I can design, the PB PowerCollection methods, and, one of the PB methods is Sort. I can retrieve all the keys, sort them either ascending or descending, retrieve the items, RemoveAll and Add them all back in. I'll use the crt.bi include and qsort.

Rick