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

5 lines
126 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04: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