This is an example of a typical for loop.
for( int var=0; var<10; var++) {
// Code to execute
}
The initiation of the for loop includes three different command seperated be semicolons.
First
In this example an integer named var is created and initialized to ;
If we are using a variable that has already being instantiated just enter the name of the variable and optionally assign it a new value.
ie.
int var = 0;
for(var=2; var<10; var++) {
// Code to execute
}