/* */ or // (comment delimiter)
Top  Previous  Next


SWiSH Player Support
Supported Internally

Syntax
// comment

or

/* multi
line
comment */

Arguments
Comment.

Returns
Nothing.

Description
Allows addition of comments to code. Comments can be used to explain complex areas of code or unusual coding practices.

Use of comments is highly recommended and will simplify future maintenance of the script.

Sample
a += 3
// single line comment, add 3 to a

/* multi line
comment
this next section is complex...*/
a -=1;