0 10 20 30 40 50 60 70 80 90 100 71230 0
You are not logged in

Welcome to type with code

Start typing or press to get going!

The vb code you'll be racing to type out is all about:

For loop (with step)

for loop is a count-controlled loop which means it your code says exactly how many times the loop should repeat. 

A for loop will use a variable to count between the minimum and maximum value. This variable is called the index, which is why for loops often use the variable i.

Rather than increasing the index by 1 each time, you can step up by any amount until you reach the maximum.

This example will count down from 10 to 1 then say "Blast off!"