Macaulay2 » Documentation
Packages » Macaulay2Doc > The Macaulay2 language > operators > ;
next | previous | forward | backward | up | index | toc

; -- expression separator

Synopsis

Description

The semicolon can be used for evaluating a sequence of expressions. The value of the sequence is the value of its last expression, unless it is omitted, in which case the value is null.

i1 : (3;4;5)

o1 = 5
i2 : (3;4;5;)

Putting expressions on separate lines is not a substitute for the semicolons.

For the programmer

The object ; is a keyword.