The for statement Syntax for (statement1; expression; statement2) statement[s]3 Examples Example 28 for loop statement. { num max = 5, i; for (i=0; i < max; i++) log(1, str(i)); }
for (statement1; expression; statement2) statement[s]3
{
num max = 5, i;
for (i=0; i < max; i++)
log(1, str(i));
}