Comments Specification

From Catglobe Wiki
Revision as of 05:21, 12 December 2011 by Cg pham (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



Comments Specification

Example1 script begins with the following lines:

/*

This is a simple CGS script.

Call it example1.

*/

This is a comment. The contents of a comment are ignored by the compiler.

CGS supports two styles of comments: multiline comments begin with /* and end with */, while single-line comments begin with //.