Algosim documentation: ;

; (semicolon)

Separates expressions.



The semicolon operator is used to separate expressions. Its expressions are evaluated one at a time from left to right. The result of the combined expression is the result of its last part.

If the sequence ends with a semicolon, the result is a null object (which is not visible in the console). As a special case,


evaluates expr but suppresses its output. All side effects still occur, though.

The ; operator is implemented by the do function.

See also