Hello<div><br></div><div>Squeak has Interval that represents interval with closed ends.</div><div>See the samples below:</div><div><br></div><div><div>(Interval from: 1 to: 10) includes: 2 --> true</div><div>(Interval from: 1 to: 10) includes: 10 --> true</div>
<div>(Interval from: 1 to: 10) includes: 11 --> false</div></div><div><br><div class="gmail_quote">2008/11/24 Cédrick Béler <span dir="ltr"><<a href="mailto:cdrick65@gmail.com">cdrick65@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi<br>
<br>
Is there an existing data structure that allow to represent interval<br>
with either open or closed ends like [1 ; 10[.<br>
<br>
Thanks<br>
<br>
--<br>
<font color="#888888">Cédrick<br>
</font><br>_______________________________________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org">Beginners@lists.squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.org/mailman/listinfo/beginners</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>------------------------------------------<br>Marcelo Pereira Barbosa<br>São Paulo, Brasil<br>
</div>