RosettaCodeData/Task/Repeat-a-string/AutoHotkey/repeat-a-string.ahk

9 lines
103 B
AutoHotkey
Raw Permalink Normal View History

2013-04-10 23:57:08 -07:00
MsgBox % Repeat("ha",5)
Repeat(String,Times)
{
Loop, %Times%
Output .= String
Return Output
}