RosettaCodeData/Task/Loops-While/MOO/loops-while.moo

6 lines
61 B
Plaintext

i = 1024;
while (i > 0)
player:tell(i);
i /= 2;
endwhile