USAGE: edit

CASE block /all 

DESCRIPTION: edit

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

CASE is a native value.

ARGUMENTS edit

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

REFINEMENTS edit

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

SOURCE CODE edit

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)}
]