On Mon, Dec 10, 2012 at 06:28:58PM -0800, Rick Flower wrote: Hi,
> But when I execute something like that shown > below it always returns the same thing -- namely > no change.. I even tried hard-coding ^false when > it was only 2 entries and it made no difference.. > Any ideas? > > myCollection sort: [:a :b | > a value ifTrue: [^false ]. > ^true. > ]. > myCollection inspect two guesses a.) A copy is returned by your invocation of sort. b.) You should really compare a to b? Return only true if a is true and b is false? holger _______________________________________________ help-smalltalk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-smalltalk
