Skip to content

nako

Repeats a block of code as long as a condition is true.

Use nako when you do not know in advance how many times you need to repeat a block. The condition is checked before each iteration.

nako (seemo) { ... }
Count down from 3 to 1
diri i = 3;
nako (i > 0) {
  kwala(i);
  i = i - 1;
}

gopheta