repeat (<expression>) <statement>
The statement is repeated the number of times indicated by the rounded value of the expression.
Example
The following program creates five balls at random positions.
{ repeat (5) instance_create(random(400),random(400),ball); }
Converted from CHM to HTML with chm2web Pro 2.85 (unicode) |