Loops are a way to iterate a block of code.
ReCT has 3 different types of Loops: a For Loop, a From To Loop, and a While Loop.
An example of a From To Loop could look like this:
from (i <- 0) to 9{
//this code will be run 10 times
}
Loops are a way to iterate a block of code.
ReCT has 3 different types of Loops: a For Loop, a From To Loop, and a While Loop.
An example of a From To Loop could look like this:
from (i <- 0) to 9