home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 12
/
64er_Magazin_Sonderheft_12_86-12_1986_Markt__Technik_de_Side_A.d64
/
fehler-test
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
485b
|
19 lines
10 a(9)=500
20 poke2,500:rem illegal quantity
30 poke70000,5:rem illegal quantity
40 poke70000,5:rem illegal quantity
50 printchr$(500):rem illegal quantity
60 print1/0:rem division by zero
70 dima(100):dima(200):rem redim'd ar.
80 nexti:rem next without for
90 return:rem return without gosub
100 a=1e100:rem overflow
110 syntax:rem syntax
120 goto0:rem undef'd statement
130 gosub0:rem undef'd statement
140 reada:rem out of data
150 a$=5:rem type mismatch
160 a="text":rem type mismatch
170 printfn a(8):rem undef'd function
180 print#1:rem file not open