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); 
}
Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.