September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
6
Task/Loops-While/DUP/loops-while-2.dup
Normal file
6
Task/Loops-While/DUP/loops-while-2.dup
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
1024 {push 1024 on stack}
|
||||
[ ][ ]# {while[condition>0][do]}
|
||||
$ {DUP}
|
||||
$. {DUP, print top of stack to STDOUT}
|
||||
10, {print newline}
|
||||
2/\% {2 DIV/MOD SWAP POP}
|
||||
Loading…
Add table
Add a link
Reference in a new issue