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:

  1. It is possible to create a comment anywhere in the script - except between two quotes - by placing the section in question between /* and */.
  2. 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

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?