repeat
Executes block of code as many times as given in parameter. Current iteration number is passed in variable named 'currentindex’.
Syntax
repeat(times)
Function arguments
- times – (Decimal) How many times given block of code will be evaluated
Return value
This function does not return a value.
Examples
Example 1:
repeat(3){ doSomething(currentindex); }