next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Macaulay2Doc :: --

-- -- comment

Synopsis

Use a double hyphen -- to introduce a comment in the text of a program. The comment runs from to the end of the line.

Emacs does a good job displaying the comments in a different color for visibility.

i1 : x = 1 -- this is a comment

o1 = 1