Hello Squeak has Interval that represents interval with closed ends. See the samples below:
(Interval from: 1 to: 10) includes: 2 --> true (Interval from: 1 to: 10) includes: 10 --> true (Interval from: 1 to: 10) includes: 11 --> false 2008/11/24 Cédrick Béler <[EMAIL PROTECTED]> > Hi > > Is there an existing data structure that allow to represent interval > with either open or closed ends like [1 ; 10[. > > Thanks > > -- > Cédrick > > _______________________________________________ > Beginners mailing list > Beginners@lists.squeakfoundation.org > http://lists.squeakfoundation.org/mailman/listinfo/beginners > > -- ------------------------------------------ Marcelo Pereira Barbosa São Paulo, Brasil
_______________________________________________ Beginners mailing list Beginners@lists.squeakfoundation.org http://lists.squeakfoundation.org/mailman/listinfo/beginners