Macaulay2 » Documentation
Packages » Macaulay2Doc :: --
next | previous | forward | backward | up | index | toc

-- -- 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