From: Leslie Viljoen Date: 2006-05-24T00:04:16+09:00 Subject: Re: How to "go to" in a RUBY script . . . On 5/23/06, Simen wrote: > There's also continuations. They're not only for web frameworks, you > know. It's fairly easy to write something goto-like with continuations. > I once did, for fun. You could do stuff like > > label :loop > [code] > goto :loop > As I understand it, continuations seem like blocks where all the local (instance) variables are automatically "static" (to use C's word). So you can go back to execute that block again at any time from anywhere and it's previous state is intact. Is that right?