From: John Sikora Date: 2010-08-19T00:57:24+09:00 Subject: Re: Strange behavior of or condition in loop John Sikora wrote: > Why did it work outside the loop (in the example given above) but not > inside the loop? So I tried the inside the loop code both in irb and > from a file (using 1.9.1) and I got false, not true. See the irb session > below. It makes me feel better that it works the same way in both > instances. > Just to clarify: I meant I tried the outside the loop code in irb, not the inside the loop code. Sorry, it was late last night. The output agrees with Jesus' out put above. js -- Posted via http://www.ruby-forum.com/.