repeat
while and for are just repeating blocks
Repeat
for
for (i in 0 until 5) {
println(i)
}createCodeBlock {
forEach("i in 0 until 5"){
statement("println(i)")
}
// or like
forEach("i in %L until %L", 0, 5){
statement("println(i)")
}
// yep this is possible in a lot of places.
// but I need to have something to talk about...
}while
Last updated