For Loop by jbb

r=["print v1",*2..10]*",v";0.upto(9){|i|r="for v#{10-i} = #{i/9} to 9
#{r.gsub /^/,"  "}
next"};$><<r

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

download

return to the top page