Search code examples
wolfram-mathematica

Is wolfram mathematica's semicolon(;) an expression?


Everything is an expression in wolfram, what about the semicolon ;?

FullFrom[a=3;Plot] (*is `;` inside an expression? *)

Solution

  • Yep. a;b is equivalent to CompoundExpression[a, b].

    See the relevant documentation for more info.