Repeat a string: Difference between revisions

Content added Content deleted
No edit summary
(→‎{{header|AutoHotkey}}: added AutoHotkey)
Line 38: Line 38:
<lang algol68>print (5 * "ha")
<lang algol68>print (5 * "ha")
</lang>
</lang>

=={{header|AutoHotkey}}==
<lang AutoHotkey>MsgBox % Repeat("ha",5)

Repeat(String,Times)
{
Loop, %Times%
Output .= String
Return Output
}</lang>


=={{header|C}}==
=={{header|C}}==