please refer the kb6 book page no 349. the book says
The next example demonstrates a for loop with multiple variables in play. A
comma separates the variables, and they must be of the same type. Remember that
the variables declared in the for statement are all local to the for loop, and can't
be used outside the scope of the loop