RosettaCodeData/Task/Repeat-a-string/Lingo/repeat-a-string-1.lingo
2016-12-05 23:44:36 +01:00

7 lines
104 B
Text

on rep (str, n)
res = ""
repeat with i = 1 to n
put str after res
end repeat
return res
end