411 REFERENCE · Wikibooks
Rebol Programming/case
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
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) (Type: block)
REFINEMENTS
/all -- Evaluate all cases (do not stop at first true case)
SOURCE CODE
case: 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)}
]