Radio Shack TRS-80 PC-3 Owner's Manual page 153

Table of Contents

Advertisement

Examples
10 INPUT A
20 ON A GOTO 100,200,300
30 GOTO 900
100 PRINT "FIRST"
110 GOTO 900
200 PRINT "SECOND"
210 GOTO 900
300 PRINT "THIRD"
310 GOTO 900
900 END
An input of 1 prints "FIRST", 2 prints "SECOND"; 3 prints "THIRD". Any other
input does not produce any print.
153

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents