Print

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); 
}
Czy artykuł był pomocny?
0 na 5 gwiazdek
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
How Can We Improve This Article?