Table of Contents

Advertisement

110
CHAPTER 6 Command Reference
REM
Function:
Comment
Character string
Statement that expresses a comment.
Explanation:
®
1) Written in a program
.
Content after REM in one line is treated as comment
statement
and is therefore not executed
.
10 REM TEST
:
A=50
c:;
Not executed.
2) When a command to be executed is written on the same line
,
write a multi-
statement sign (:)before the REM statement.
Example:
1 0 R E M AR E A · · · ·
·
·
· ·
·
· · · · · · · · · · · · ·
· · ·
·
Determines program name.
20
INPUT
"R="
,
R
30 S
=
n*R
t
2
:
REM CALCULATION
......
..
Adds comment
4 0
p R I NT S
to the
line.
50 END

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents