up previous next
***** NOT YET UPDATED TO CoCoA-5: follow with care *****
A comment begins with the symbol
/*
and ends with the symbol
*/
.
Comments may contain any number of characters and are always treated as
white space. Comments may be nested and may span several lines.
In addition, text starting with
//
or
--
up to the end of a line is
also considered comment.
// This is a line comment
Print 1+1; -- a command followed by a comment
2
-------------------------------
/* example of /* nested */ comment */
|