10 REM PC-BASIC test 
20 REM SAVE syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
50 SAVE
70 SAVE "P",P
80 A$="B": SAVE A$
90 B$="P2": SAVE B$,P
100 SAVE ""
110 SAVE "ONE",B
120 SAVE ,P
130 SAVE 0,A
140 SAVE 20
160 SAVE "ERR" LPRINT
170 SAVE "A",A
180 PRINT#1, "END"
190 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT
