VTech Precomputer Power Pad Plus Games User Manual


 
65
REM
Line # REM text
REM is used to add comments in your program which are ignored when the program is
RUN.
Example:
10 REM**GUESSING GAME**
20 REM TEST OF SORTING
RUN
RUN tells the computer to begin to perform your program beginning with the lowest statement
number.
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:
800 STOP
APPENDIX
EXAMPLE PROGRAMS
MOONWEIGHT
10 PRINT “Weight on the Moon”
20 INPUT “Your Weight in Lbs.” ; WEIGHT
30 MOONWEIGHT = WEIGHT /6
40 PRINT “Your moon weight would”
50 PRINT “be” ; MOONWEIGHT; “pounds.”
60 PRINT “Wow”
RUN