Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
9
Task/Loops-While/Lang5/loops-while.lang5
Normal file
9
Task/Loops-While/Lang5/loops-while.lang5
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
: /i / int ; : 0= 0 == ;
|
||||
: dip swap '_ set execute _ ; : dupd 'dup dip ;
|
||||
: 2dip swap '_x set swap '_y set execute _y _x ;
|
||||
: while
|
||||
do dupd 'execute 2dip
|
||||
rot 0= if break else dup 2dip then
|
||||
loop ;
|
||||
|
||||
1024 "dup 0 >" "dup . 2 /i" while
|
||||
Loading…
Add table
Add a link
Reference in a new issue