From: John Pritchard-williams Date: 2008-08-29T04:56:10+09:00 Subject: Re: Subtle bug with catch/throw. Am I missing something? Patrick, Just a guess: can you clarify the 'while' loop with a 'do' I wonder? Just wondering whether the interpreter is getting confused here - and the extra 'puts' is somehow clarifying the situation for it ? Cheers John ie: while engine.nextFrame(key) do ... -- Posted via http://www.ruby-forum.com/.