From: squidster@... (Squidster) Date: 2002-12-01T00:59:01+09:00 Subject: 'C' based iterators Fellow Rubyists, Been cracking my skull on how to code iterators in 'C', and need a few pointers: 1. rb_iter_break() is the equvalent of "break", what is the equivalent of "next"? 2. Scoping tricks bar = nil foo.each { |bar| next if bar.capacity < size break } In Ruby, I can do scoping tricks as above, so that I get the value of bar if the test fails outside of the block. How the heck can I do that in 'C'? TIA. /squidster