Wednesday, December 15, 2010

Adding Comments

Purpose of Comments:

  • For making the script understandable
  • For making the Script Disable from execution

Syntax:

  1. Use Apostrophe (‘) before the statement
  2. Use REM Command with single space before the statement

Comment a Block of Statements:

Navigation: Select block of statements > Edit menu> Advanced> Comment block

Or

After selecting block of statements use shortcut key Ctrl+M

Uncomment a block of statements:

Navigation: Select comment block>Edit menu> Advanced>Uncomment block

Or

After selecting comment block, Use shortcut key ctrl+shift+M