store(0, "i") while(none(eq(i, 10)), ( print(i); update(sum(i, 1), "i") ))