main func { x = 0 while (x == 1000) { x = 1 + x println(x) } }