Data update
This commit is contained in:
parent
796d366b97
commit
35bcdeebf8
504 changed files with 7045 additions and 610 deletions
9
Task/Loops-While/Amazing-Hopper/loops-while-1.hopper
Normal file
9
Task/Loops-While/Amazing-Hopper/loops-while-1.hopper
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include <jambo.h>
|
||||
|
||||
Main
|
||||
i=1024
|
||||
Loop
|
||||
Printnl 'i'
|
||||
i \= 2
|
||||
Back if 'i' is positive
|
||||
End
|
||||
7
Task/Loops-While/Amazing-Hopper/loops-while-2.hopper
Normal file
7
Task/Loops-While/Amazing-Hopper/loops-while-2.hopper
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
main:
|
||||
i=1024
|
||||
____CODE_JUMP____883612951:,
|
||||
{i};{"\n"}print;
|
||||
i\=2
|
||||
{i},jpos(____CODE_JUMP____883612951),____CODE_JUMP____854411479:,
|
||||
emptystack?do{{0}};return
|
||||
5
Task/Loops-While/Inform-7/loops-while-2.inf
Normal file
5
Task/Loops-While/Inform-7/loops-while-2.inf
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
(var i 1024)
|
||||
|
||||
(while (> i 1)
|
||||
(print i)
|
||||
(var i (// i 2)))
|
||||
Loading…
Add table
Add a link
Reference in a new issue