RosettaCodeData/Task/Loops-N-plus-one-half/AutoHotkey/loops-n-plus-one-half.ahk
Ingy döt Net db842d013d A-M baby
2013-04-10 21:29:02 -07:00

7 lines
261 B
AutoHotkey

Loop, 9 ; loop 9 times
{
output .= A_Index ; append the index of the current loop to the output var
If (A_Index <> 9) ; if it isn't the 9th iteration of the loop
output .= ", " ; append ", " to the output var
}
MsgBox, %output%