1/9/11

VbScript comments

The comment argument is the text of any comment we want to include.


Purpose of comments:

o We can use comments for making the script understandable.

o We can use comments for making one or more statements disable from execution.

Syntax

Rem comment (After the Rem keyword, a space is required before comment.)

Or

Apostrophe (') symbol before the comment


Comment/Uncomment a block of statements:

o Select block of statement and use short cut key Ctrl + M (for comment)

o Select comment block and use short cut key Ctrl + Shift + M (for uncomment)