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

CompoundExpression (;)

evaluates the expri in turn, giving the last one as the result.
  • CompoundExpression evaluates its arguments in a sequence corresponding to the control flow.
  • The returned value can be the result of Return[expr].
  • expr1;expr2; 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 expr2.
New in 1