RosettaCodeData/Task/Loops-Continue/AutoHotkey/loops-continue.ahk

6 lines
118 B
AutoHotkey
Raw Permalink Normal View History

2013-04-10 21:29:02 -07:00
Loop, 10 {
Delimiter := (A_Index = 5) || (A_Index = 10) ? "`n":", "
Index .= A_Index . Delimiter
}
MsgBox %Index%