RosettaCodeData/Task/Repeat-a-string/Tosh/repeat-a-string.tosh

9 lines
151 B
Plaintext

when flag clicked
set String to "meow"
set Count to 4
set Repeated to ""
repeat Count
set Repeated to (join (Repeated) (String))
end
stop this script