From: Frederick Cheung Date: 2006-09-24T07:38:52+09:00 Subject: Re: Riddle me this (a question about expressions) Patrick Toomey wrote: > def foo() > x = 0 > x = if 3 > 4 > return 8 > else > return 9 > end > return x > end The problem is that you are effectively trying to do this x = return 9 And that doesn't have a well defined meaning Fred -- Posted via http://www.ruby-forum.com/.