Repeat a string: Difference between revisions

Content deleted Content added
Galileo (talk | contribs)
No edit summary
m →‎{{header|Tosh}}: Tosh example added.
Line 2,151: Line 2,151:
=={{header|Tcl}}==
=={{header|Tcl}}==
<lang tcl>string repeat "ha" 5 ;# => hahahahaha</lang>
<lang tcl>string repeat "ha" 5 ;# => hahahahaha</lang>

=={{header|Tosh}}==
<lang Tosh>when flag clicked
set String to "meow"
set Count to 4
set Repeated to ""
repeat Count
set Repeated to (join (Repeated) (String))
end
stop tis script</lang>


=={{header|TUSCRIPT}}==
=={{header|TUSCRIPT}}==