vbs for loop code example
Example: vbscript for loop
Dim i
For i = 1 To 5
document.write("The number is " & i & "<br />")
Next
' Output:
' The number is 1
' The number is 2
' The number is 3
' The number is 4
' The number is 5
Dim i
For i = 1 To 5
document.write("The number is " & i & "<br />")
Next
' Output:
' The number is 1
' The number is 2
' The number is 3
' The number is 4
' The number is 5