From: matz@... (Yukihiro Matsumoto) Date: 2000-01-12T08:49:54+09:00 Subject: [ruby-talk:01107] Re: The value of while... In message "[ruby-talk:01104] The value of while..." on 00/01/11, Dave Thomas writes: |'while' is an expression, and it always returns 'nil'. Yes. |YDAQ: How can I use it as an expression without eval-ing | | a = ( while 1 < 0 | 99 | end | ) | |gives me a parse error 'void value expression' Are there any realistic need for using the `while' value? Some expressions (e.g. while, break, etc.) are marked as void expression by the parser. I can relax them very easily if they bother you rather than helping you. matz.