From: fluffyx Date: 2005-11-05T08:02:10+09:00 Subject: How To Keep a Block on a Recursive Function Hi. I have a recursive function (it calls itself) that accepts a block. def arecursor(param) [...] yield var [...] if (some condition) arecursor(another_var) end [...] end When the function is first called, the yield statement succeeds. But after the function calls itself, it looses the block. How do I make the block persistant-- can I do something like this::? arecursor(another_var) { use my block } Thanks, Oliver