From: Devin Mullins Date: 2006-09-24T02:21:02+09:00 Subject: Re: Riddle me this (a question about expressions) Patrick Toomey wrote: > The second declaration doesn't run at > all. I get a "void value expression" error. Is the runtime looking > into my if statement, realizing that there is no ability for x to get > set and failing? No. The 'return' keyword is one of the few things in Ruby that isn't an expression -- it doesn't have a return value. Ruby's complaining 'cause you're trying to set x to it. Devin