back to Command Reference
[All Models]
Allows remarks or comments to be included within a program. This command is not executed.
REM comments
' comments
└──┬───┘
String expression
REM or '
comments: String expression (internal codes 20h to 7Eh and 80h to FBh)
REM statement following the line number indicates
that the following text is comments and should be ignored in program execution.REM statement can only be used at the beginning of a line.REM statement is treated as a comment and is not executed.
PRINT A: REM 123 123 is treated as a comment
PRINT A REM 123 SN error occurs.
PRINT A ' 123 123 is treated as a comment
10 ' REM(') indicates comment