From: robin Date: 2007-01-28T02:55:07+09:00 Subject: Question about variable scope Does the following code behave as you'd expect? 2.times{|n| i,j = n,i; puts "i=#{i}, j=#{j.inspect}"} Can you explain why j is nil rather than 0, the second time round? Thanks, Robin