i = 0while i < 10 do if i == 4 break end puts(i) i = i + 1endprint('after while')
Standard input is empty
0 1 2 3 after while
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!