Cold Help System: Programming: ColdC Reference Manual: Language Structure: Statements: Simple: Comment


The comment statement does nothing. A comment statement is used for including notes within ColdC code. It is formatted as two forward slashes followed by any characters up to the end of the line, such as:

// This is a comment.

The interpreter ignores comment statements completely; they are for the benefit of human readers. Note that comments in ColdC are actual statements, unlike comments in other languages, which are usually discarded by the preprocessor.


Comment | Expression | Compound | Return


the Cold Dark