From: Eric Jacoboni Date: 2006-03-05T09:03:55+09:00 Subject: Re: Simple Script Help (New to Ruby) Jordan Michaels writes: > elseif theNumber > theGuess > theResult = 2 > elseif theNumber = theGuess elseif is not Ruby... try elsif instead. furthermore, equality is "==", not "=". Here, you assigns theGuess to theNumber. This assignment return the value of theGuess, hence always "true". > and here's my output when I run it: Strange. If i try to run your script, i get a : bla.rb:17: undefined method `elseif' for main:Object (NoMethodError) That's not the case for you ? -- Eric Jacoboni, ne il y a 1444957142 secondes