REM

Include explanatory remarks in a VBScript program.

Syntax
      ' comment
      command ' comment

      REM comment
      command : REM comment


If a REM statement is added on the same line as a command, then it must be prefixed with a colon (the end-of-line statement). This is not required when using the apostrophe comment prefix.

Examples

Dim MyStr1, MyStr2

MyStr1 = "Hello" : Rem Comment after a statement separated by a colon.
MyStr2 = "Goodbye" ' This is also a comment; no colon is needed.
Rem Comment on a line with no code; no colon is needed.

#Now stand in the place where you work, Now face West
Think about the place where you live, Wonder why you haven’t before# ~ REM 'Stand'

Related:

Echo - Echo text to screen.


 
Copyright © 1999-2024 SS64.com
Some rights reserved