RosettaCodeData/Task/Loops-For/SNOBOL4/loops-for-2.sno

5 lines
126 B
Text
Raw Permalink Normal View History

2013-04-10 22:43:41 -07:00
outer b = a = ?lt(a,5) a + 1 :f(end)
inner t = t ?(b = (gt(b,0) b - 1)) "*" :s(inner)
t span("*") . terminal = :(outer)
end