This is documentation for Mathematica 4, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

SwitchDo

CompoundExpression

FilledSmallSquare; ; ... evaluates the in turn, giving the last one as the result.

FilledSmallSquareCompoundExpression evaluates its arguments in a sequence corresponding to the control flow.

FilledSmallSquare The returned value can be the result of Return[expr].

FilledSmallSquare The evaluation of the can be affected by Return, Throw and Goto.

FilledSmallSquare; ; returns value Null. If it is given as input, the resulting output will not be printed. Out[n] will nevertheless be assigned to be the value of .

FilledSmallSquare See The Mathematica Book: Section 1.2.6 and Section A.2.7.

FilledSmallSquare See also: Block.

Further Examples

SwitchDo