From: Robert Klemme Date: 2007-07-19T17:21:54+09:00 Subject: Re: Possible bug in ruby interpreter 2007/7/19, pp : > Hi there, > > I found that the expression: > > 1*(rand (1) + 1) > > will often evaluate to 0. Eliminating the space between rand and > ( makes the problem go away. Is this a bug? I'm afraid, the bug is in your keyboard or further up the "invocation" chain. :-) rand (1) + 1 is parsed as rand( 1 + 1 ) which sometimes will evaluate to 0. Method brackets need to appear directly after the identifier. robert