Comments Specification

From Catglobe Wiki
Revision as of 10:48, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(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 //.