Toggle menu
876
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Comments Specification: Difference between revisions

From Catglobe Wiki
Cg_pham (talk | contribs)
No edit summary
Cg_pham (talk | contribs)
No edit summary
 
Line 1: Line 1:
[[Category:An_overview_of_CGScript]]
[[Category:An_overview_of_CGScript]]

{{HelpFiles}}


===Comments Specification===
===Comments Specification===

Latest revision as of 04: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 //.