10 REM PC-BASIC test 
20 REM POKE syntax
30 OPEN "OUTPUT.TXT" FOR OUTPUT AS 1
40 ON ERROR GOTO 1000
50 POKE
60 POKE 0
70 POKE 0,
80 POKE 0,0
90 POKE 0,0,
100 POKE 0,0,0
110 POKE 0,0,0,
120 POKE "!"
130 POKE "!",0
140 POKE -1,0
150 POKE 32768,0
160 POKE 65536,0
170 POKE 0,-1
180 POKE 0,256
190 POKE 0, 32768
200 POKE 0,"!"
210 POKE 0,"!",
220 POKE LPRINT
999 END
1000 PRINT#1, ERR, ERL
1010 RESUME NEXT
