From: David Vallner Date: 2006-08-16T11:23:00+09:00 Subject: Re: goto function? On Wed, 16 Aug 2006 04:07:26 +0200, Eero Saynatkari wrote: > Since no-one mentioned it, how about a throw/catch solution? Throw / catch is for hairier nonlocal returns, he wanted to repeat something using goto. Looping with a break or an end condition is easier to understand (YMMV) if you don't need to get a result value of any sort. But yes, that would also work. Especially since you can implement any control construct with ruby's throw / catch if you're stark raving mad enough. David Vallner