For Loop by Histocrat

*x=n="next"\x0d
puts"for v1 = 1 to 9",(1..9).map{|i|x=[(s=" "*i*2)+n]+x\x0d
s+"for v#{i+1} = 0 to 9"}," "*20+"print v#{[*1..10]*',v'}",x

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page