10 REM PC-BASIC test 
20 REM RESTORE syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
50 RESTORE
60 RESTORE DATA
70 RESTORE "1"
80 RESTORE 1
90 RESTORE 10
100 RESTORE 1, 100
110 RESTORE 10, 100
120 RESTORE 10 DATA
999 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT
