10 REM 'RESTORE (LINE#)' TEST PROGRAM
20 READ X
30 PRINT X;
40 IF X=3 THEN 60
50 GOTO 20
60 READ X
70 PRINT X;
80 IF X=6 THEN 100
90 GOTO 60
100 RESTORE 180
110 READ X
120 IF X=4 THEN 150
130 PRINT "RESTORE FAILED THE TEST"
140 STOP
150 PRINT "RESTORE PASSED THE TEST"
160 GOTO 999
170 DATA 1,2,3
180 DATA 4,5,6
999 END
