mirror of
https://github.com/nineties/planckforth
synced 2024-12-26 21:58:42 +01:00
Add [unless]
This commit is contained in:
parent
fdefd16eda
commit
93e668bad5
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue