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

USAGE

   CASE block /all

DESCRIPTION

Evaluates each condition, and when true, evaluates what follows it.

CASE is a native value.

ARGUMENTS

  • block -- Block of cases (conditions followed by values) (block!)

REFINEMENTS

  • /all -- Evaluate all cases (do not stop at first true case)

#SOURCE

case: make native! [  [
    {Evaluates each condition, and when true, evaluates what follows it.}
    block [block!] "Block of cases (conditions followed by values)"
    /all {Evaluate all cases (do not stop at first true case)}
] ]
Clone this wiki locally