RosettaCodeData/Task/Repeat-a-string/LiveCode/repeat-a-string.livecode
2016-12-05 23:44:36 +01:00

10 lines
170 B
Text

on mouseUp
put repeatString("ha", 5)
end mouseUp
function repeatString str n
repeat n times
put str after t
end repeat
return t
end repeatString