From: Dave Thomas Date: 2000-12-31T02:25:04+09:00 Subject: [ruby-talk:8363] Re: Parallel iterators and conintuation "g forever" writes: > Why does this not work > > def test > foo{|x| $bb.call callcc{|$ff| print ("FF",x)} } foo{|x| $bb.call; callcc{|$ff| print ("FF",x)} } ^ > bar{|y| callcc{|$bb| print ("BB",y) } $ff.call } bar{|y| callcc{|$bb| print ("BB",y) }; $ff.call } ^ Then you'll get the error $bb not initialized. Regards Dave