wondering of there is a built in function to spit out the last n
entires of an ordered collection..
in a pinch, this worked:
| ipcount newList |
ipcount := self repository size.
newList := OrderedCollection new.
(ipcount - anInteger) to: ipcount do: [ :n | newList add: (self
repository at: n) ].

but i am guessing that is a total kludge...
thanks!
--

----
peace,
sergio
photographer, journalist, visionary

http://www.coffee-black.com
http://www.painlessfrugality.com
http://www.twitter.com/sergio_101
http://www.facebook.com/sergio101
_______________________________________________
Beginners mailing list
Beginners@lists.squeakfoundation.org
http://lists.squeakfoundation.org/mailman/listinfo/beginners

Reply via email to