Jul 3 2008 2:55AM GMT
Posted by: Jerry Lees
REM, Developer documentation, VBScript, VBScript Statements, vbscriptstatements
VBScript Statements: Explanation of the Rem Statement
Posted by: Jerry Lees
The VBScript REM statement is used to place a comment in your script or function. It is typically considered essential to place comments in code, not only to document what something does for others– but for yourself 6 months down the line.
Another short hand method of placing a comment in the code is to use the ‘ character to comment the code. Below are two examples:
Rem This is a comment
‘ This is a comment too
x=x+1 ‘this is a comment after a line of code, the code is processed and the comment is ignored.


