Bil Kleb wrote:
> Try to write the following Fortran 77 program (note the
> 6 space indentation) in Ruby so that it looks as close
> to the Fortran as possible without extending Ruby:
>
>       program ii
>       integer i
>       do i=0,10
>          print*,i
>          if (i.gt.5) goto 1
>       enddo
> 1     print*,i*i
>       end

My Fortran's a little rusty (I never learnt it); does this program do the 
right thing?

     #program ii
     #integer i
      for i in 0..10
         print *i
         if (i.>5) then break end
      end#do
1;    print *i*i
     #end

Cheers,
Dave