10 REM PC-BASIC test 
20 REM LET syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
50 A=1
60 LET A=1
65 LET A$="1111"
70 LET A$="22222" LPRINT
75 PRINT#1, A$
80 LSET 
90 LSET A=1
100 LSET A$="3"
110 LSET B$="4" LPRINT
120 PRINT#1, A$
180 RSET 
190 RSET A=1
200 RSET A$="3"
210 RSET B$="4" LPRINT
220 PRINT#1, A$
999 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT
