Jump to content
Toggle menu
  • 915 articles
  • 3.8K files
  • 30.2K users
  • 279.2K edits
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
jrfconvert import
 
Cg_pham (talk | contribs)
No edit summary
 
(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 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 //.