Rem – Compilation





Rem Statement


Usage

The Rem statement inserts a comment in the script.

Syntax

Rem <text_comment>
or
' <text_comment>

Parameters

  • <text_comment>: any text. Any text following the keyword Rem or the character ' is not executed when running the script.

Remarks

You can comment a full block of lines by inserting the characters /* at the beginning of the first line of the block and putting the characters */ at the end of the last line of the block.

Examples


Rem text blabla
'text blabla
Reboot(0) ' restarts Windows
/* All the lines are comments
A second line
A third line
*/
Msgbox("end of the comments")