Language ReferenceRem Statement


Description
Used to include explanatory remarks in a program.

Syntax
Rem comment

or

' comment

The comment argument is the text of any comment you want to include. After the Rem keyword, a space before comment is required.

Remarks

As shown in the syntax section, you can use a single quotation mark or apostrophe (') instead of the Rem keyword. If the Rem keyword follows other statements on a line, it must be separated from the statements by a colon. However, when you use a single quotation mark, the colon is not required after other statements.