RosettaCodeData/Task/Loops-For/Ursa/loops-for.ursa

12 lines
190 B
Text
Raw Permalink Normal View History

2016-12-05 23:44:36 +01:00
#
# for loop
#
decl int i j
for (set i 0) (< i 5) (inc i)
for (set j 0) (< j (int (+ i 1))) (inc j)
out "*" console
end for
out endl console
end for