This commit is contained in:
Koichi Nakamura 2021-01-01 20:47:08 +09:00
parent e11e1f782e
commit a1242df09e

View file

@ -629,6 +629,10 @@ alias-builtin xor ^
[compile] if [compile] if
; immediate ; immediate
\ ( n -- n n | n )
\ duplicate if n<>0
: ?dup dup if dup then ;
\ === Loops === \ === Loops ===
\ begin <body> <condition> until \ begin <body> <condition> until
\ begin <body> again \ begin <body> again