Microsoft® Visual Basic® Scripting Edition Rem Statement |
Language Reference Version 1 |
Used to include explanatory remarks in a program.
Rem commentor
' comment
The comment argument is the text of any comment you want to include. After the Rem keyword, a space is required before comment.
As shown in the syntax section, you can use an apostrophe (') instead of the Rem keyword. If the Rem keyword follows other statements on a line, it must be separated from the statements by a colon. However, when you use an apostrophe, the colon is not required after other statements.