Visualizzare sequenze di numeri con passo +1, -1, +2, -2

Il codice
For i=1 To 10
TextWindow.Write(i+" ")
EndFor
TextWindow.WriteLine("")
TextWindow.WriteLine("----------------------------------")
For i=1 To 10 Step 2
TextWindow.Write(i+" ")
EndFor
TextWindow.WriteLine("")
TextWindow.WriteLine("----------------------------------")
For i=10 To 1 Step -1
TextWindow.Write(i+" ")
EndFor
TextWindow.WriteLine("")
TextWindow.WriteLine("----------------------------------")
For i=10 To 1 Step -2
TextWindow.Write(i+" ")
EndFor
TextWindow.WriteLine("")
TextWindow.WriteLine("----------------------------------")
Aggiungi nuovi blocchi di codice con
-
i=-10 To 10 Step 3
-
i=-10 To 10 Step 1.5
-
i=10 To -10 Step -3
-
i=10 To -10 Step -4
Quali sequenze appariranno sullo schermo?