Skip to main content

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:  

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 page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!