From Game Editor
The for statement, like the do and while statements, is used to execute a block of code repeatedly.
The syntax of the for statement is like this:
for ( initialization ; test expression; update expression ) statements;
The initialization, test expression, update expression are optional.
This is an infinite for loop.
for ( ; ; ) statement;
The code in statement would be executed until a break statement was executed.

![[]](/wiki/skins/blender/open.png)