up previous next

Comments

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.

example

    
// This is a line comment 
Print 1+1; -- a command followed by a comment
2
-------------------------------
/* example of /* nested */ comment */