Loops

Counted loops

Status variables
  for.length
  for.count
  for.relative // for.count / for.length // only for set and range

for 100 // set
   1; 2; .. 99; 100
end

for 10 100 // range
   10; 11; .. 99; 100
end

for 10 0.5 100 // float range
   10; 10.5; .. 99.5; 100
end

Condition loop

Status variable
  condition

x := 0
while (x<5)
  x += x 1 // 0; 1; 2; 3; 4
end

x := 0
repeat
  x += x 1 // 0; 1; 2; 3; 4
until (x>4)