You're missing the condition and increment portion of the for statement.
I suspect there are other issues with the code.