September Morn Update
This commit is contained in:
parent
4e2d22a71d
commit
aac6731f2c
6856 changed files with 141342 additions and 21127 deletions
8
Task/Loops-While/Cache-ObjectScript/loops-while.cos
Normal file
8
Task/Loops-While/Cache-ObjectScript/loops-while.cos
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
WHILELOOP
|
||||
set x = 1024
|
||||
while (x > 0) {
|
||||
write x,!
|
||||
set x = (x \ 2) ; using non-integer division will never get to 0
|
||||
}
|
||||
|
||||
quit
|
||||
Loading…
Add table
Add a link
Reference in a new issue