Tutorial by Examples

In classic ASP we can specify a for loop with the for keyword. With the for statement we need the next statement which will increment the counter. For i = 0 To 10 Response.Write("Index: " & i) Next The step keyword can be used to changed the how the next statement will modify...
Do while is very similar to for loop however this generally is used if our loop repetitions is unknown. Do While: 'Continues until i is greater than 10 Do While i <= 10 i = i + 1 Loop 'Or we can write it so the first loop always executes unconditionally: 'Ends after our first loop as...

Page 1 of 1