From: ts Date: 2005-09-24T00:36:01+09:00 Subject: Re: Why is this not a syntax error? >>>>> "J" == Jamey Cribbs writes: J> if a == 0 J> puts 'zero' J> elif a == 1 J> puts 'one' J> else J> puts 'not one' J> end You have just written if a == 0 puts 'zero' elif(a == 1) # call the method elif puts 'one' else puts 'not one' end run it with a = 0, to see the error message Guy Decoux