Difference between revisions of "Comment Block"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
|||
Line 12: | Line 12: | ||
==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. |
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