Difference between revisions of "Comments Specification"

From Catglobe Wiki
Jump to: navigation, search
(jrfconvert import)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
[[Category:HelpBooks]]
+
[[Category:An_overview_of_CGScript]]

+
{{HelpFiles}}
  
 
===Comments Specification===
 
===Comments Specification===

Latest revision as of 06:21, 12 December 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 //.