REMARK

REMARK, REM

Top  Previous  Next

 

The REMARK statement, which may be abbreviated to REM, enters comment text into a program.

 

 

Format

 

REMARK text

 

where

 

textis arbitrary comment text.

 

 

The REMARK statement inserts text as a comment in the program which is totally ignored by the compiler. The semicolon delimiter cannot be used to include an executable statement on the same line as a REMARK as the entire line after the REMARK keyword is ignored.

 

Comments are more usually inserted using the an asterisk or exclamation mark prefix.

 

 

Examples

 

REMARK This text is totally ignored

* This text is totally ignored

! This text is totally ignored

A = B + C   ;* This is a trailing comment