10 REM PC-BASIC test 
20 REM LCOPY syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
50 LCOPY
60 LCOPY PRINT
70 LCOPY LAH
80 LCOPY -1
90 LCOPY 0
100 LCOPY 255
110 LCOPY 256
120 LCOPY 32768
130 LCOPY "!"
140 LCOPY 1,1
150 LCOPY 1,
160 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT
