Difference between revisions of "Comments Specification"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:An_overview_of_CGScript]]
 

 

  

Revision as of 07:43, 18 March 2011



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 //.