Radio Shack TRS-80 Model 100 Basic Manual page 57

Basic language lab
Hide thumbs Also See for TRS-80 Model 100:
Table of Contents

Advertisement

~-
AMOUNT
OF SALES?
20
YES
NO
COMPUTE 15%
COMMISSION
30,40,50
END
COMPUTE 20%
COMMISSION
COMMISSION IS
Figure 4-2. Flowchart of Experiment 5
Modify the program by deleting line 20 and replacing line 30:
3121 IF ST
<-
2121121121 THEN CM - .15
*
ST ELSE CM
- .2121
*
ST
Since this line requires more than 40 columns, it will not fit on a single line of the
display of your Model 100, but will overflow to the next line. A line in your program
may contain up to 255 characters, in which case it will extend over several lines of the
display.
51

Advertisement

Table of Contents
loading

Table of Contents