SPC  Version 0.9.5
 All Files Functions Groups Pages

Two forms of comments are supported in SPC.

The first are traditional C comments. They begin with '/*' and end with '* /'. These comments are allowed to span multiple lines, but they cannot be nested.

/* this is a comment */
/* this is a two
line comment */
/* another comment...
/* trying to nest...
ending the inner comment...*/
this text is no longer a comment! */

The second form of comments supported in SPC begins with '//' and continues to the end of the current line. These are sometimes known as C++ style comments.

// a single line comment

As you might guess, the compiler ignores comments. Their only purpose is to allow the programmer to document the source code.