From: ts Date: 2000-12-31T23:25:21+09:00 Subject: [ruby-talk:8415] Re: Stream programming in Ruby ?? >>>>> "g" == g forever writes: g> test1, i = callcc { |cc| return cc } # ???? callcc "capture" the current continuation (in cc) and return it when you execute `x.call' the execution is resumed at this point. Perhaps you can take a look at : http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml and make a search on "callcc" you'll find other examples. Guy Decoux