10 REM PC-BASIC test 
20 REM RENUM test
30 A=20: GOSUB 100: GOTO 40
40 ON ERROR GOTO 50
45 ON ERROR GOTO 0: GOTO 60
50 RESUME 10
61 LIST 10-35: LLIST 5-20: DELETE 45-49
70 AUTO 10,10,10: RENUM 10,10,10
80 RESTORE 100
90 IF A THEN 10 ELSE 20
100 RUN 40
110 RUN "A", 40
120 ON A GOTO 10, 20, 30
130 PRINT GOTO 20
140 GOTO 10, 20, "A", 30
100 PRINT ERR+10: PRINT ERL+10+20+30: PRINT ERL=10: RETURN 40 
