>
> puts "Hello World"
> i = 0
> callcc do | $goto160 |
>   callcc {| $goto120 |}
>   $goto160.call if i > 10     # 120;
>   puts "Current i: %d" % [i]
>   i = i + 1
>   $goto120.call
> end
> puts "Done!"                  # 160;
>
>
> daz


Did you test this?  I didn't, but it appears to me that it will loop
forever.  Although you put "i = i + 1", when yyou then "goto 120", won't
the previous value of i be restored, as the continuation's tentacles reach
in to the consciousness of the program and find that moment in time?

Gavin