CompoundExpression
expr1; expr2; ... evaluates the expri in turn, giving the last one as the result.
Examples
a = 1; b = 2; a + b
(* 3 *)x = 5;
(* no output, suppressed by trailing semicolon *)Please visit the official Wolfram Language Reference for more details.