From: Juergen Katins Date: 2002-07-03T17:33:06+09:00 Subject: Re: (0..3) == (0...4) returning false? "Massimiliano Mirra" wrote > I see! So I should think of them as: > > (0..3) 0 <= x <= 3 > (0...4) 0 <= x < 4 There is a pitfall you must be aware of. Although (0...4) === 3.2 produces true (which means 3.2 is included in (0...4) ) 3.2 is no element of (0...4) in terms of (0...4).each (which means 3.2 is NOT included in (0...4) ). It is a little bit illogical. Look out! Juergen Katins