Tuesday, May 4, 2010

Comments

Comments

Comments in VBScript are declared so that code would be easier to understand and navigate. Comments can be placed anywhere within VBScript source code. In VBScript you can have only single line comments, no multi-line comments.

Example:
\'This is a single line comments
\'
'This is another single line comment

CoolTuts - JavaScript - JavaScript Comments

JavaScript single line Comments
Comments can be added JavaScript, to make the code more readable.
Single line comments start with //.

JavaScript multiple line Comments
Multi line comments start with /* and end with */.