Difference between revisions of "Comment Block"
From Lianjapedia
(→Products) |
Yvonne.milne (Talk | contribs) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 8: | Line 8: | ||
==See Also== | ==See Also== | ||
− | [[&&]], [[*]], [[Double Slash Comment|// | + | [[&&]], [[*]], [[Double Slash Comment|//]] |
==Description== | ==Description== | ||
− | The /*...*/ command allows comment blocks to be inserted in programs to enhance their readability and maintainability. The /* denotes the start of the comment block, the */ the end of the comment block. All characters between the two comment block delimiters are treated as comments and ignored | + | The /*...*/ command allows comment blocks to be inserted in programs to enhance their readability and maintainability. The /* denotes the start of the comment block, the */ the end of the comment block. All characters between the two comment block delimiters are treated as comments and ignored. The /*...*/ command differs from the // command, and the && command, in that it can deal with multi-line comments. |
Line 22: | Line 22: | ||
</code> | </code> | ||
− | + | ||
− | + | [[Category:Documentation|/*...*/]] | |
− | + | ||
− | [[Category:Documentation]] | + | |
[[Category:Commands|/*...*/]] | [[Category:Commands|/*...*/]] | ||
− | [[Category: | + | [[Category:Comments]] |
− | + |
Latest revision as of 13:28, 19 December 2012
Contents
Purpose
Comment block
Syntax
/* <statements> */
See Also
Description
The /*...*/ command allows comment blocks to be inserted in programs to enhance their readability and maintainability. The /* denotes the start of the comment block, the */ the end of the comment block. All characters between the two comment block delimiters are treated as comments and ignored. The /*...*/ command differs from the // command, and the && command, in that it can deal with multi-line comments.
Example
/* open the table and view in name order */ use patrons index names