j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Shouldn't that test on step compare it with ZERO? It fails miserably when the step is 0.5.
includes: aNumber | offset | step = 1 ifTrue: [^ aNumber between: self first and: self last]. step > 0 ifTrue: [offset _ aNumber - start. ^ (aNumber between: start and: self ...
Yes, David is right. (embarassed smile) And I subjected this to extensive random testing, too -- but only for integer step sizes :-(
Andrew
squeak-dev@lists.squeakfoundation.org