RosettaCodeData/Task/Repeat-a-string/AutoHotkey/repeat-a-string.ahk
2023-07-01 13:44:08 -04:00

8 lines
103 B
AutoHotkey

MsgBox % Repeat("ha",5)
Repeat(String,Times)
{
Loop, %Times%
Output .= String
Return Output
}