September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
8
Task/Loops-Do-while/Dc/loops-do-while.dc
Normal file
8
Task/Loops-Do-while/Dc/loops-do-while.dc
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
0 si [i = 0]sz
|
||||
[2Q]sA [A = code to break loop]sz
|
||||
[
|
||||
li 1 + p [print it = i + 1]sz
|
||||
d si [i = it, leave it on stack]sz
|
||||
6 % 0 =A [call A if 0 == it % 6]sz
|
||||
0 0 =B [continue loop]sz
|
||||
]sB 0 0 =B
|
||||
Loading…
Add table
Add a link
Reference in a new issue