10 REM PC-BASIC test 
20 REM PCOPY syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 10000
50 PCOPY 0,1
60 PCOPY 0,0
70 PCOPY 
80 PCOPY 0
90 PCOPY 0,
100 PCOPY 0,0,
110 PCOPY 0, 256
120 PCOPY 0, 32768
130 PCOPY 0,-1
140 PCOPY 0, 10
150 PCOPY 10, 0
9999 END
10000 PRINT#1, ERR, ERL
10010 RESUME NEXT
