rem statement

The rem statement designates that all text that follows the statement on the same line is ignored by the compiler.

Syntax

rem text

Synonym(s)

!
*

Parameter(s)

text Specifies remarks to be ignored by the compiler.

Description

The rem statement is used to explain or document the program, allowing the programmer to place comments anywhere in the program without affecting program execution. It is provided for compatibility and readability.

Example(s)

rem Last revised 1/1/02
! look for next value
* time to wrap up