For i = 1 To 10 TextWindow.Write(i) If i <> 10 Then TextWindow.Write(", ") EndIf EndFor TextWindow.WriteLine("")