[previous] [up] [next]     [contents] [index]
Next: And and Or Up: Conditionals Previous: Cond and Case

When and Unless

The when and unless forms conditionally evaluate a single body of expressions:

The result of a when or unless expression is the result of the last body expression if the body is evaluated, or void (see section 4.1) if the body is not evaluated.



PLT