10 REM PC-BASIC test 
20 REM COMMON strings
40 ON ERROR GOTO 1000
50 OPEN "OUTPUT.TXT" FOR OUTPUT AS 2
55 E$="new"+"string"
60 PRINT#2, A$, PEEK(VARPTR(A$)), PEEK(VARPTR(A$)+1), PEEK(VARPTR(A$)+2)
70 PRINT#2, B$, PEEK(VARPTR(B$)), PEEK(VARPTR(B$)+1), PEEK(VARPTR(B$)+2)
80 PRINT#2, C$, PEEK(VARPTR(C$)), PEEK(VARPTR(C$)+1), PEEK(VARPTR(C$)+2)
90 PRINT#2, D$, PEEK(VARPTR(D$)), PEEK(VARPTR(D$)+1), PEEK(VARPTR(D$)+2)
100 PRINT#2, E$, PEEK(VARPTR(E$)), PEEK(VARPTR(E$)+1), PEEK(VARPTR(E$)+2)
190 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT


