Add unloop

This commit is contained in:
Koichi Nakamura 2021-01-11 08:20:50 +09:00
parent b55e8df45b
commit 4d9876da62

View file

@ -1486,6 +1486,11 @@ do-stack 16 cells + do-sp !
compile rdrop
; immediate
: unloop ( R:a b -- )
compile rdrop
compile rdrop
; immediate
: i 2 rpick ;
: j 4 rpick ;
: k 6 rpick ;
@ -2477,7 +2482,7 @@ need-defined (read)
if else then unless begin until again while repeat
recurse case of rangeof endof endcase
do loop +loop leave i j k
do loop +loop unloop leave i j k
char [char] key
.s . .r u. u.r dec. hex. type