Rem
The rem statement is used for inserting remarks, or comments, into the script, or to temporarily deactivate script statements without removing them.
Syntax:
Rem string
Everything between the rem and the next semicolon ; is considered to be a comment.
There are two alternative methods available for making comments in the script:
- It is possible to create a comment anywhere in the script - except between two quotes - by placing the section in question between /* and */.
- When typing // in the script, all text that follows to the right on the same row becomes a comment. (Note the exception //: that may be used as part of an Internet address.)
Arguments:
Argument | Description |
---|---|
string | An arbitrary text. |
Example:
Rem ** This is a comment **;
/* This is also a comment */
// This is a comment as well