[Newbies] Bag is missing items
Joseph J Alotta
joseph.alotta at gmail.com
Tue Nov 20 18:14:21 UTC 2012
Greetings,
I have a problem with Bag. When I put stuff in it, they disappear.
companies is a dictionary with 454 items.
When I sort it, I first use #values to convert it to a Bag.
Attached is a screen shot. See how it goes from 100 to 445.
Now it is missing items?
Sincerely,
Joe.
| bag sorted |
bag := companies values.
sorted := bag asSortedCollection: [ :x :y | (x at: 'points') < (y at: 'points')].
sorted inspect.
-------------- next part --------------
Skipped content of type multipart/related
More information about the Beginners
mailing list