mk90.basic.statements

Statement REM

Ignore the rest of a physical source line.

Syntax

REM comment

Parameters

ParameterMeaning
commentAny remaining text through the next LF or EOF.

Behavior

A colon inside the comment remains part of the comment. REM is a statement token, so separate it from following word text with whitespace. Comment-only lines count toward the 64 non-empty-line limit.

Example

10 REM This is a comment: still a comment
20 PRINT "HELLO"
30 END

Limits and diagnostics

No apostrophe-comment shorthand is implemented.

Status-code reference.

See also

END · Language syntax