forked from rebol/rebol
-
Notifications
You must be signed in to change notification settings - Fork 2
Either
angerangel edited this page Mar 15, 2013
·
1 revision
EITHER condition true-block false-block
If condition is TRUE, evaluates the first block, else evaluates the second.
EITHER is a native value.
- condition
- true-block (block!)
- false-block (block!)
#SOURCE
either: make native! [ [
{If condition is TRUE, evaluates the first block, else evaluates the second.}
condition
true-block [block!]
false-block [block!]
] ]