Add [unless]

This commit is contained in:
Koichi Nakamura 2021-01-06 17:23:29 +09:00
parent fdefd16eda
commit 93e668bad5

View file

@ -1711,6 +1711,11 @@ switch-to-4th-stage
then
; immediate
: [unless] ( f -- )
not
[compile] [if]
; immediate
: [else]
\ If the condition is false, [else] is skipped by [if].
\ So when the execution reaches [else] it means that