when ur making a for structure do this:
Which way you chose depends on the scope you want for the variable.