STOP ... CONT
Line #
STOP
CONT
The STOP command halts the RUNNING of a program at that line
.
This is helpful
for debugging. To CONTINUE at the next line after the STOP command, type
CONT directly without
a line
number.
Example:
j
aoo
STOP
APPENDIX
EXAMPLE PROGRAMS
COMPUTER FRIEND
10 PRINT "I AM PC2000 COMPUTER"
20 INPUT "WHAT IS YOUR NAME";N$
30 PRINT "HELLO ";N$
40 PRINT "I COME FROM HONG KONG"
50 PRINT "WHERE DID YOU COME FROM?"
60 PRINT "I HOPE WE BECOME FRIENDS"
70 END
2 APPLE PRICE
10 INPUT "HOW MANY APPLES WILL YOU BUY" ;A
20 INPUT "HOW MUCH DOES IT COST" ;M
30 LET P=M/A
40 PRINT "EACH APPLE PRICE IS";P
50 END
50
Need help?
Do you have a question about the PreComputer 2000 and is the answer not in the manual?