Skip to content
angerangel edited this page Mar 15, 2013 · 1 revision

USAGE

   EITHER condition true-block false-block

DESCRIPTION

If condition is TRUE, evaluates the first block, else evaluates the second.

EITHER is a native value.

ARGUMENTS

  • 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!]
] ]
Clone this wiki locally