<< Click to Display Table of Contents >> Manual > Script Guide > Script Ver2 (SC2 syntax) > comment |
comment
If you want to write a comment in a script, start it with "//" and then write the comment.
// Comments function XXX(a, b) { // Comments … //Comments a = a + 1; //Comments b = b + 1; //Comments } |
If you want to write a multi-line comment, use:
// Comment 1 // Comment 2 // Comment 3 |
Additionally, if you enclose something between the "/*" and "*/" keywords, everything between them will be recognized as a comment.
/* Comment 1 Comment 2 Comment 3 */ |
The comment syntax closely follows the C language syntax. |